In this tutorial, we'll build the the nescessary packages for ARM via homebrew. After that we'll configure apache2 for using virtual hosts. The native php is ofcourse way faster, see the results of this benchmark below.
TEST NAME | SECONDS | OP/SEC |
---|---|---|
Rosetta2 | 191.654 sec | 1.96 MOp/s |
Intel i7-4790K (imac 2014) | 156.791 sec | 2.39 MOp/s |
Intel i5-8500B (mini 2018) | 141.381 sec | 2.65 MOp/s |
ARM m1 | 43.745 sec | 8.58 MOp/s |