Skip to content

Instantly share code, notes, and snippets.

View tedsecretsource's full-sized avatar

Ted Stresen-Reuter tedsecretsource

View GitHub Profile
@tedsecretsource
tedsecretsource / 1. Building PHP-MAMP on Apple Silicon M1.md
Created April 23, 2021 08:04 — forked from lennardv2/1. Building PHP-MAMP on Apple Silicon M1.md
Native PHP development / MAMP stack on Apple silicon M1

Building the MAMP stack (php, apache & mysql) on Apple Silicon ARM (native)

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
@tedsecretsource
tedsecretsource / wordpress-plugin-svn-to-git.md
Created May 8, 2019 15:36 — forked from kasparsd/wordpress-plugin-svn-to-git.md
Using Git with Subversion Mirroring for WordPress Plugin Development