If you use MAMP or MAMP Pro for your local development server, you might want to update it as new versions are released. Learn how to uprade MAMP, it’s simple, it only takes a few minutes and you will benefit from improved reliability.
I have written a post here on setting up MAMP on your Mac which covers a couple of steps we can refer to in our update. The main benefit of upgrading MAMP is in improved reliability and there will sometimes also be changes to the PHP version that you will want to be able to run on your web testing server. See this post on upgrading PhpMyAdmin. Updates on major versions of MAMP Pro are free, and there is no charge for the standard version of MAMP that I use for my local development environment.
How to Upgrade MAMP
First of all, head on over to mamp.info to download the latest version of MAMP. Save the zip file containing the installer to your desktop (unless you want to keep a backup…)
- Go to your user Applications folder and rename the MAMP directory to MAMP_OLD or similar.
- Unzip the installer and double-click the .pkg file to start the install process. You will be told not to remove or rename MAMP. Ignore this! Press Continue and you will be asked to verify with your password.
- When the installation has finished, go to your MAMP_OLD folder and copy the db directory. Use this to replace the db directory in the new installation of MAMP. If you upload your local site files to the MAMP htdocs directory you will also want to copy this one from _OLD to new.
- You can either use the MAMP GUI (as in the guide to setting up MAMP) or go to Applications/MAMP/conf/apache/httpd.conf and set your Ports for Apache and MySQL to 80/3306.
- Go to the Apache tab and set your Document Root, or edit the httpd.conf file.
- Finally, if you are using any virtual hosts, copy them over from the httpd.conf file in your MAMP_OLD directory to your new file.
- Restart MAMP and that’s it!
If everything is working as expected, you can delete the MAMP_OLD backup file.
MAMP MAMP, OSX, Web hosting, Website designer