How to get older versions of MAMP

MAMP stands for Macintosh, Apache, Mysql and PHP. It also happens to be my development server of choice and what I'm using to test SWX on. The great thing about it is that it has a very simple installation process (just drag the app to your Applications folder) and that it is entirely self-contained. It doesn't mess with anything on your system and if you want to, you can just erase the MAMP app and it's gone. (This is how all apps should work.)

Anyway, since I want SWX to work on as many versions of PHP as possible, today, I tried to track down a version of MAMP that contained a version of PHP that I know is causing problems (5.1.2). I found it difficult to track down older versions of MAMP so I thought I'd outline the process here for anyone else who might want to test their apps with different versions of PHP, Apache, etc.

Downloading an older MAMP release is a three-step process:

  1. Go to the MAMP releases page and find the release that you want. Note down its version number.
  2. Go to this search page on SourceForge and enter the version number of MAMP that you want.
  3. On the results page, click the appropriate link to download that version of MAMP.

If you are going to test with multiple versions of MAMP, it would make sense to move your htdocs folder somewhere outside the MAMP app and set your MAMP Document Root (under Preferences -> Apache) on your various MAMP installs to point to this one place.

There you go: Now you have a simple way to test with multiple versions of PHP, etc.

Comments