How to Install MAMP on your Mac

MAMP is a program that allows you to install a local server environment on your computer. It stands for Mac, Apache, MySQL, and PHP. For Windows, check out WAMP. LAMP — Linux, Apache, MySQL, and PHP is the classic set of applications WordPress runs on. It’s not unlikely that your current WordPress server still runs exactly that stack. For even more about this whole thing and what it has to do with WordPress, check out our “A WordPress LAMP!?” article.

It takes a just few minutes to install and set up MAMP, but once you have it, you can run and use WordPress on your computer rather than through your server. If you’re developing a site for a client and don’t want the unfinished product to be available for all to see while you’re working on it, installing a local server is crucial.

Here’s how you do it.

  1. Download MAMP for free.
  2. Open it and follow the prompts to install the MAMP application.

    (click to enlarge)

  3. Open the icon for MAMP in your applications folder. MAMP automatically gives you both the paid and free version. Use the grey folder and icon for the free version, if you want you can move the Pro version to the trash. When prompted, uncheck the box that asks if you’d like to check for MAMP PRO every time you open it, and click “Launch MAMP” instead of “Launch MAMP PRO.”
  4. Once the MAMP app dashboard is open, select the gear icon for ‘Preferences’
  5. From the ‘Preferences’ screen, select the ‘Ports’ tab and click ‘Set Web & MySQL ports to 80 & 3306’ and click ‘OK’. Doing this will allow you access your local websites from http://localhost instead of http://localhost:8888 which will make your life easier later. You will be prompted for your computers admin password every time you start your server, so make sure you remember it!

    (click to enlarge)

  6. Next, click to the tab within preferences that says ‘Web Server’. Make sure ‘Apache’ is selected and click the folder icon option under ‘Document Root.’

    (click to enlarge)

  7. Change your document root to the folder on your computer where you create and store your website’s files. The default will be set to Applications > MAMP > htdocs, but you can change this to a folder you create and title within your ‘Documents’ folder, or to your ‘Sites’ folder if you already have one. Then click ‘OK’ to save your changes.

    (click to enlarge)

That’s it! You officially have MAMP installed and in working order! In next week’s quick guide, we’ll teach you how to use MAMP to install WordPress locally on your computer so you can get to work!

Image credit: wpshout

Add a Comment

Your email address will not be published. Required fields are marked *