I just installed MAMP (Mac, Apache, MySQL, and PHP), a tool that allows you to view php and database driven websites like WordPress or Joomla locally on your Mac. It’s a great tool, and the price is reasonable: Free or $65 for Pro Version. But the documentation does not explain how to actually set up a site and be able to view it on your Mac. The following tutorial will fill in the gaps and save you a lot of time searching for answers like I did. Thanks to Chris at css-tricks for the video on using MAMP.
Installing MAMP is no problem. Download the package, unzip it, and click on the install package. That’s it. MAMP is installed. Now if you could just figure out how to use it.
If you are on OS X Mountain Lion, you need to turn off Apache before starting MAMP. To turn off Apache in Mountain Lion, first close MAMP, and then enter the following command in a terminal: sudo apachectl stop
You should only need to do this once.