1.1 Installation Requirements

MAMP is officially supported on Windows 7, Windows 8 , and Windows 8.1( Windows 8 RT/ARM is not supported )

MAMP and MAMP PRO requirements

  • 1GB  RAM 
  • .NET Framework 4.0

In addition to officially supported versions, MAMP and MAMP PRO will work on any desktop OS beginning with Windows XP and Server OS (although not officially supported) from 2003 (Excluding some Starter Editions and some specific OS versions) onward.

1.2 Installing and upgrading

  • Download MAMP PRO from https://www.mamp.info.
  • If you're doing upgrade, be sure to first backup your databases from C:\MAMP\db\mysql\ folder!
  • Double click on the file MAMP_MAMP_PRO_3.xx.setup file from your Downloads folder.
  • The System Installer will guide you through the installation process.
  • Your existing C:\MAMP\htdocs\ folder will be preserved if you have MAMP currently installed.
  • Database folder C:\MAMP\db\mysql\ database data will not be preserved if you have MAMP currently installed! Be sure to backup MySQL databases from MAMP installation before doing upgrade! 

When installing MAMP, a c:\MAMPPRO folder will be installed in addition to your c:\MAMP folder. You can ignore this folder if you choose not to use MAMP PRO.

Do not remove your C:\MAMP or C:\MAMPPRO folder. Removal of this folder may break the MAMP/MAMP PRO Uninstaller!

1.3 Uninstall

Use Add/Remove programs from Control Panel to uninstall MAMP. The Windows Uninstaller will also uninstall MAMP PRO.

After successful installation you can launch your local servers. Start MAMP for Windows and click on the Start Servers button. In the status display in the upper right corner, the launch status of the servers is displayed. 

The web server (Apache) 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 Apache port at the end of the URL, e.g.: http://localhost:8888 

  • Preferences …
    Set your preferences for MAMP. See the Preferences section for more details.

  • Open Start page
    Open the start page of your local web server.

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

3.1 Start/Stop

  • Start Servers
    The Apache and MySQL services will start automatically when you launch MAMP.

  • Stop Servers
    The Apache and MySQL services will be stopped automatically when you quit MAMP.

  • Check for MAMP PRO
    You will be prompted whether you want to start MAMP or MAMP PRO when this option is selected.

  • At Startup Open
    The Webstart page will automatically open at the startup of MAMP when you select this option.

3.2 Ports

 

Server programs, when addressed via the network, need to be assigned to a certain network port. This way, multiple server programs may run on one server machine. Every service has a default port: The Apache web server typically uses port 80, Nginx also uses port 80  and the MySQL database server utilises port 3306.

These ports are configurable. The default configuration for MAMP uses ports 8888, 7888 and 8889 . That way, the MAMP servers can run alongside other servers installed on your PC. Should ports 8888, 7888 and 8889 be in use by a different application, please change the values accordingly.

The button Set Web & MySQL ports to 80 & 3306 will set the ports to the value commonly used on the internet. The button Set MAMP ports to default will reset the ports for Apache, Nginx and MySQL to 8888, 7888 and 8889.

If you want MAMP to be available via the Internet please make sure that the configured ports are opened in your firewall.

3.3 PHP

  • Standard Version
    Choose whether PHP 5.5.19 or PHP 5.6.3 is used. The available PHP versions depend on the installed version of MAMP.

  • Cache
    Caching can speed up the execution of your PHP code. The default caching option is off. OPcache is only available with PHP 5.5.x, eAccelerator only with versions before 5.5.

3.4 Web Server

  • Web Server

Choose either the Apache or Nginx web server.

  • Document Root

    Click on "Select..." to select where your html/PHP files and images are stored. This directory is called Document Root. The default Document Root in MAMP is: c:\MAMP\htdocs.

3.5 The MAMP Start Page

The default MAMP start page provides links to access utilities such as phpMyAdmin, phpInfo, SQLite Manager, phpLiteAdmin, FAQ, and the MAMP Website.

The MAMP start page can be changed using Preferences…. When using the default setting (/MAMP/), you will be directed to the MAMP utilities start page using the Alias  definition /MAMP/.

If this field is left blank, you will be taken to your default document root (http://localhost:8888 in the c:\MAMP\htdocs). If you enter /subDirectory in this field, you will be taken to the c:\MAMP\htdocs\subDirectory folder via your default web browser (http://localhost:8888/subDirectory).

4.1 Is MAMP compatible with Windows 8 and Windows 10?

Yes, MAMP is indeed compatible with Windows 8 and Windows 10.

4.2 What does MAMP stand for?

The abbreviation "MAMP" stands for: My Apache, MySQL and PHP. MAMP for Windows is the Windows version of MAMP.

4.3 Where can I download MAMP?

Get the latest version of MAMP For Windows from our website www.mamp.info.

4.4 Where can I find the log files?

All log files are stored in: c:\MAMP\logs\

4.5 Which Apache modules are included?

Apache modules are located in the C:\MAMP\bin\apache\modules folder.

4.6 Which PHP modules are included?

To find out which PHP modules are included, use the following procedure:

  1. Start the servers and direct your web browser to http://localhost:8888/MAMP/.
  2. Click on the phpInfo tab at the top of page.

4.7 How do I see the Menu in MAMP?

Press the ALT button on your Windows machine.

 

4.8 Where is my database data located in MAMP for Windows?

Your database data is located in C:\MAMP\db\mysql\

4.9 Why is the MAMP for Windows default installation directory c:\MAMP?

By default UAC (User Account Control) makes it problematic working with Programs Files directory. You can install and in Program Files but some of the AMP components will not work properly.

4.10 Where is my php.ini file located?

Your php.ini for MAMP is located in c:\MAMP\conf\phpX.XX.

4.11 Where is my httpd.conf file located?

Your httpd.conf file is located in C:\MAMP\conf\apache\httpd.conf

4.12 How do I uninstall MAMP for Windows?

Go to your Control Panel. Under the  Programs -> Uninstall Menu you will find MAMP version X.X.X. Click and proceed with the uninstallation. This will remove files from C:\MAMP folder which were copied by Installer. Databases which you have created in MySQL are located in default location ( C:\MAMP\db\mysql\ ) they need to be backuped before uninstalling if you want to preserve them (because they will be overwritten on next installation). Also your document root located in C:\MAMP\htdocs will still have files which were created by you.

The MAMP/MAMP PRO Uninstaller will also remove your c:\MAMPPRO folder.

4.13 My Apache Server will not start?

Stop your servers (in this case MySQL is only running) and close MAMP. Navigate to your Windows Task Manager and see if there are any already existing httpd processes running. If there are, end them. Start MAMP and start your servers.

Check your Apache error log file if there are no existing processes running.

4.14 My MySQL Server will not start?

Stop your servers (in this case Apache is only running) and close MAMP. Navigate to your Windows Task Manager and see if there are any already existing mysql processes running. If there are, end them. Start MAMP and start your servers.

Check your MySQL error log file if there are no existing processes running.

4.15 PHP7 and Windows 7 / Windows Vista

If Apache does not start when PHP7 is selected, check if you have installed Service Pack 1 on Windows 7. On Windows Vista be sure to have Service Pack 2 installed. If you have installed Service pack after MAMP & MAMP PRO setup, you need to reinstall VC14 runtimes manually again (runtime is found in C:\MAMP\Redist folder); or just reinstall MAMP & MAMP PRO setup if you want it to be applied automatically.

5.1 Configuration start error

If MAMP can not start and you get following error or similar message in your MampAppErr.log file in C:\MAMP\ folder:

----Exception------

:::Unable to cast object of type 'System.Configuration.DefaultSection' to type 'System.Configuration.AppSettingsSection'.

----Stack Trace------


Then you need to edit file MAMP.exe.config in C:\MAMP\ (with Notepad or similar text editor).
Add this section just under <configuration>

<configSections>
<section name="appSettings" type="System.Configuration.AppSettingsSection" />
</configSections>


This is how MAMP.exe.config looks after editing:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="appSettings" type="System.Configuration.AppSettingsSection" />
</configSections>
<appSettings>
<add key="StartWhenMAMPStart" value="True"/>
<add key="StopWhenMAMPStop" value="False"/>
<add key="CheckForMAMPPro" value="False"/>
<add key="OpenStartPageOnMAMPStart" value="False"/>
<add key="StartPageForMAMP" value="/MAMP/"/>
<add key="StopMysqlCommand" value="--user=root --password=root --port={0} shutdown"/>
<add key="CheckMysqlCommand" value="--user=root --password=root --all-databases --check --check-upgrade"/>
<add key="RepairMysqlCommand" value="--user=root --password=root --all-databases --repair"/>
<add key="UpgradeMysqlCommand" value="-uroot -proot --force"/>
<add key="WebServer" value="apache"/>
<add key="UpdateAccessRights" value="True" />
</appSettings>
</configuration>