This article will focus on Mac OS X 10.5 Leopard. I have no access to earlier versions of Mac OS X, so I’m afraid I can’t help you much more than providing this link.
There are many ways to enable MAMP (Mac Apache MySQL PHP) stack, but the best way, I think, is to use one of the two I’m about to describe below. On this page, I’ll describe MAMP stack using MAMP application bundle. On the next page, I’ll describe another way using Apache and PHP that are built-in with Mac OS X Leopard.
The easy way
There’s no doubt that the easiest way is to simply download MAMP, extract it to Applications and start programming. Here’s a quick start to using MAMP bundle application.
- Download MAMP from here. At the time of this writing, it was at version 1.7.2.
- Double click the .dmg file
- Drag MAMP to applications folder.
- Then on Finder, navigate to Go -> Applications. Then double click on MAMP directory. Then double click on MAMP icon.
- You should then see the MAMP console and MAMP will also open start page.
- You’re basically all set now. A few things that you may want to change is the default MySQL port to 3306 and the location of document root. Both can be changed by clicking on preferences button.
That’s it! Didn’t I tell you it was the easy way? Next, I’ll discuss how to enable Apache and PHP that’s already built-in with your Mac OS X.