Skip to content

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!

Yay! 🎉 You made it to the end of the article!
Harper Phillips

Most Voted
Newest Oldest
Inline Feedbacks
View all comments
August 27, 2019 6:47 am

As of 08/27/19 try loading MAMP according to the above directions—YOU CANNOT DO IT! Now, all you’re going to get is a download of MAMP.PRO for a free 10 day trial period; AND there is no way to get around it! I’ve tried and tried to get past the pro version, but there is no way!

September 16, 2019 5:00 am
Reply to  David

Although the selection box in the installation process has disappeared there is a way. Unfortunately you have to install MAMP PRO and MAMP together. The free MAMP (grey icon) is hidden in the MAMP-map.

November 6, 2019 1:38 pm
Reply to  Tom

Where I can find the MAMP-map to choose free MAMP version? Thanks.

How to Locally Install WordPress on your Mac - The Amazing Host
January 14, 2016 5:44 pm

[…] Install MAMP if you haven’t yet. If you already have MAMP, open it and click “Start Servers.” […]

How to Locally Install WordPress on your Mac | WPShout
January 14, 2016 4:02 pm

[…] Install MAMP if you haven’t yet. If you already have MAMP, open it and click “Start Servers.” […]

Or start the conversation in our Facebook group for WordPress professionals. Find answers, share tips, and get help from other WordPress experts. Join now (it’s free)!

Would love your thoughts, please comment.x

Most Searched Articles

Best JavaScript Libraries and Frameworks: Try These 14 in 2024

In this post, we look at the best JavaScript libraries and frameworks to try out this year. Why? Well, with JavaScript being available in every web browser, this makes it the most accessible programming language of ...

20 Best Free WordPress Themes for 2024 (Responsive, Mobile-Ready, Beautiful)

If you're looking for only the best free WordPress themes in the market for this year, then you're in the right place. We have more than enough such themes for you right ...

12 Best WordPress Hosting Providers of 2024 Compared and Tested

Looking for the best WordPress hosting that you can actually afford? We did the testing for you. Here are 10+ best hosts on the market ...

Handpicked Articles

How to Make a WordPress Website: Ultimate Guide for All Users – Beginners, Intermediate, Advanced

Many people wonder how to make a WordPress website. They’ve heard about WordPress, its incredible popularity, excellent features and designs, and now they want to join the pack and build a WordPress website of their own. So, where does one get ...

How to Start an Ecommerce Business: Ultimate Guide for 2024

Is this going to be the year you learn how to start an eCommerce business from scratch? You’re certainly in the right place! This guide will give you a roadmap to getting from 0 to a fully functional eCommerce business. ...