MAMP is a free, local server environment that can be installed under macOS and Windows with just a few clicks. MAMP provides them with all the tools they need to run WordPress on their desktop PC for testing or development purposes. Go to MAMP official website and choose to download MAMP for OSX (Mac). Step 16: Start the MAMP server by clicking on 'Start Servers' power button. It will turn green when servers has been enabled. Do not close MAMP window (or servers will be turned offline). Step 17: MAMP will also launch a Web Start page. This is the homepage for your local MAMP instance and there are many convenient links to the stuff we will. MAMP creates a local server environment on Mac OS X by installing PHP, MySQL, and Apache right out of the box. This will make Drupal much easier to install because the components don't have to be installed separately. This page is to be used in conjunction with the installation instructions for Drupal on Mac OS X.
For this tutorial we will be using an application called MAMP. MAMP stands for Macintosh, Apache, MySQL, and PHP. Downloading MAMP. Before you can install MAMP on your Mac, you’ll need to download it from the MAMP website. MAMP requires that your Mac be running Mac OSX 10.6.6 or later so be sure your system is up to date. 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.

MAMP stands for My Apache MySQL PHP. It help its users set up personal web server and manage websites locally on their Mac or Windows computers. It brings web developers the freedom to design websites offline at first and easily transfer websites to web host provider later. You can install MAMP on Mac or Windows according to your OS. In this guide, we will discuss how to install MAMP on Mac OS X step by step, how to set up Apache server, PHP, ports, MySQL database server on your local Mac computer.
How to Install MAMP on Mac?
MAMP for Mac comes with two versions, a free version and a Pro version which cost $59. In this tutorial we will focus on the free version. You will learn how to install MAMP on Mac for free below.
The installing of MAMP on a Mac is pretty easy. You need to download its installation package from the official website. Here is the download link of MAMP for Mac: http://www.mamp.info/en/downloads/
When the downloading completes, double Click on the installer and you will start the installation of MAMP for Mac.
The installation package version 3.0.5 comes with both MAMP & MAMP PRO. So if you do not change the settings and leave most of them by default, you can go through the standard installation which has both MAMP and MAMP PRO installed on your Mac.
In this case, we will install only the free MAMP version, not the premium pro version. So click on Custom from above screen and you will get a screen like this:

Check only the MAMP, uncheck MAMP Pro and continue to finish the installing.
Before you go to use it to create websites locally, you need to configure your local server with it. After you have set up the local sever for Apache and MySQL databases, you will be able to create WordPress on Mac, create Joomla on Mac, or any other websites you like.
Note: If you can’t start Apache on Mac, try to disable Web sharing from System Preferences… >> Internet & Wireless >> Sharing. If you are on OS X Mountain Lion, you may need to turn off Apache before starting MAMP.
You can now launch MAMP from Applications » MAMP.
From the above main MAMP screen, you will need to make some basic configurations to set up the local server environment including Apache, PHP, server ports, database server. Click the“Preferences” button you will get a new popup dialogue with options including: Start/stop, Ports, PHP and Apache.
Start/stop Settings:
Mamp Pro
Here you have the option to control when to start and stop local servers on your Mac computer. We suggest you to enable Start Servers when starting MAMP and Stop Servers when quitting MAMP. So each time you start MAMP, the local Apache server automatically starts on your Mac, when you close the MAMP app, you shut down the Apache server at the same time.
You can disable the check for Pro version and the start page option. The start page option can be set to your local WordPress directory, so when you start MAMP, you open your local WordPress on Mac at the same time. If you leave it to the default directory, the MAMP start page will provide you easy access to services and features such as phpMyAdmin which we will discuss in details below.
Ports Setting:
The default port number would be 8888 for Apache port, and 8889 for MySQL port. Usually you do not need to change them. If you like to custom the port numbers, make sure they are not taken by other apps on your Mac computer. If the ports are available, you can also set them to the default Apache and SQL ports on live web server on the internet.
(note: if you leave the Apache port to the default 8888, then your local site can only be visited with URL http://localhost:8888/; on the contrary, if you change it to the default Apache port 80, you can directly visit http://localhost without the port number attached. A disadvantage of using port 80 is that you need to enter your admin password each time your start your local servers created by the MAMP tool.)
PHP Settings:
MAMP offers two different PHP versions in MAMP 3.0 for Mac. Choose the latest PHP version for maximum compatiblities with your local web applications, also higher security and more stable performance when the local sites being migrated to live server.
Apache Settings:
This is the place to set, choose or change the document root directory of your local web applications or sites on Mac hard drive. You can click the Select… button to pick up the target local site installation folder location on Mac.
Up until now, you have successfully installed MAMP on Mac and you have configured your local Apache server on Mac with supportive settings. You can go to build your local websites with MAMP now. However if your website requires MySQL databases as well, such as the famous WordPress and Joomla, you need to create databases with MAMP. See how to install WordPress on Mac with MAMP? Please refer to below steps to set up local MySQL server on Mac with MAMP.
Mamp Setup Mac
Create a Database on Mac with MAMP
To create a local MySQL database on Mac, you can make use of the phpMyAdmin tool which comes with MAMP by default.
From the above main MAMP screen, click Open start page button, click on phpMyAdmin, you will be taken to a new screen where you are given the option to manage databases for your local sites on Mac. You will be able to create MySQL database with the phpMyAdmin tool on Mac.
Go to localhost. In the Create Database field, enter a name for the database. No spaces. In the Collation list, select utf8_general_ci. Then click Create button, your MySQL databaseon local Mac OS X will be created!

In above steps, we have set up the Apache server environment on our local Mac computer, we have set up Apache, enabled PHP and then create MySQL database. It is time to start the local website building on your Mac computer.
Update Jun 2018: this article was originally published in Jul 2014 and has since been updated.
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.
- Download MAMP for free.
- Open it and follow the prompts to install the MAMP application.
- 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.”
- Once the MAMP app dashboard is open, select the gear icon for ‘Preferences’
- 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 ofhttp://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)
- 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.’
- 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!

Mamp Tutorial Machine
Image credit: wpshout
