Upgrading MAMP Pro can be a little complicated. Here's the procedure I used to upgrade from 3 to 4.1:
httpd.conf
, php.ini
, etc. make sure to make a backup copy. Easiest way to do this is to go to File
→ Edit Template…
and copy the contents of each file. Depending on which version you're upgrading from/to, MAMP may or may not preserve your custom edits.httpd.conf
, my.cnf
, etc. It will ask you to save your existing ones somewhere else; do that and then use diff
(or FileMerge) to migrate any changes. If it doesn't, you may want to check the new versions against the backup copies you made earlier just to make sure everything is there./usr/local/bin
to the MAMP equivalents (rm's are only needed if you've done this linking before):sudo rm /usr/local/bin/php sudo rm /usr/local/bin/phpize sudo rm /usr/local/bin/php-config sudo rm /usr/local/bin/pear sudo ln -s /Applications/MAMP/bin/php/php7.1.0/bin/php /usr/local/bin/php sudo ln -s /Applications/MAMP/bin/php/php7.1.0/bin/phpize /usr/local/bin/phpize sudo ln -s /Applications/MAMP/bin/php/php7.1.0/bin/bin/php-config /usr/local/bin/php-config sudo ln -s /Applications/MAMP/bin/php/php7.1.0/bin/bin/pear /usr/local/bin/pear
sudo rm /Applications/MAMP/bin/php/php7.1.0/conf/php.ini sudo ln -s "/Library/Application Support/appsolute/MAMP PRO/conf/php.ini" "/Applications/MAMP/bin/php/php7.1.0/conf/php.ini"
mysql
as well:sudo rm /usr/local/bin/mysql sudo ln -s /Applications/MAMP/Library/bin/mysql /usr/local/bin/mysql