First Steps

After successful installation you can start your local servers. Start MAMP and click the “Start” button in the toolbar. If necessary, you will be asked for your administrator password. The button shows the server status by its color:

  • grey = servers are not running
  • green = server running
  • orange = not all servers are running

The web server (Apache or Nginx) starts by default on port 8888, the database server (MySQL) on port 8889. When calling your web page in a web browser, you must enter the web server port at the end of the URL, e.g.: http://localhost:8888

MAMP Interface


  • Preferences
    Click on this button to display the settings. Details can be found here.

  • Cloud
    Open up the MAMP Cloud Functions. See the Cloud section for more details.

  • WebStart
    Clicking this button opens the WebStart page in your default browser. This button is only active if a web server is running.

  • Start / Stop
    Start or stop the Apache/Nginx and MySQL services of MAMP.

Main area

  • Document root
    This shows the directory where you store your HTML and PHP files, images, and so on. This directory is called the document root. By default, the directory is set to “/Applications/MAMP/htdocs”. You can change the path in the Preferences (Server).

  • Web server
    Determine which web server will be used.

  • PHP version
    Here you can choose between two PHP versions. The available PHP versions depend on the installed version of MAMP.