FAQ

Where can I change the ports for Apache, Nginx and MySQL?

You can change them in the Ports section of the Preferences dialog:
Ports

Where should I put my HTML and PHP pages?

After installting MAMP the web server uses "/Applications/MAMP/htdocs" as its so-called "document root". You can use every folder as long as you can read from and write to it. You can change the path of the document root in the "Server" section of the Preferences dialog:

Document Root

What is MAMP Cloud?

The very popular cloud function of MAMP PRO is also available in MAMP. MAMP Cloud allows you to save and load your host and your data of one database using Dropbox. You can easily save your host and database data in the cloud and later retrieve it on another Mac, or on the same Mac, when backing up data before making changes on your host.

Cloud

How can I change the password of the user root of MySQL?

Open the Terminal and type the following:

/Applications/MAMP/Library/bin/mysqladmin -u root -p password <NEWPASSWORD>

Instead of <NEWPASSWORD> use the new password you want. If it contains spaces you have to enclose it in double quotes. Before the command sets the new password it asks for the current one.

Afterwards, you also need to change the password for phpMyAdmin and other scripts which are run by MAMP. You can change the password for phpMyAdmin in the file "/Applications/MAMP/bin/phpMyAdmin/config.inc.php".

Why does MAMP ask for a password when starting and stopping servers?

You probably have set the Apache port to a value smaller than 1024 (see the Ports section of the Preferences dialog). On a Unix system like macOS you must have root permissions to start IP services with ports smaller than 1024.

Which programs are installed?

1 Version in bracket is M1 version.
2 Not available for M1 processor