
- #Mamp install how to
- #Mamp install install
- #Mamp install update
- #Mamp install archive
- #Mamp install download
PhpStorm checks whether the specified folder contains a PHP executable file, detects the PHP version, and displays it in the PHP Info read-only field. Either enter the path manually or click and locate the file. In the PHP executable field, specify the folder where the php (PHP executable) file is stored. In the Name field, type the name to identify the current installation, for example MAMP PHP 7.1. In the left-hand pane, click the button on the toolbar. All currently registered installations of PHP interpreters are displayed in the CLI Interpreter list: Add the interpreter installed with MAMPĬlick to the right of the list. With PhpStorm, we can have several separate PHP interpreters registered in the IDE, depending on the PHP version or PHP configuration needed for the project. In the Settings/Preferences dialog ( Ctrl+Alt+S), navigate to PHP. Let's start by registering the PHP executable from MAMP in PhpStorm. Integrating MAMP with the IDE Integrating the PHP executable Set the web server document root on the Web Server tab. Specify the PHP version and caching options on the PHP tab. Specify the Apache and MySQL ports on the Ports tab. Modify the Start/Stop Servers configuration on the Start/Stop tab. To configure MAMP, click the Preferences. This page contains the information about your environment and provides useful links. The Start Page ( by default) will open in the browser. Once the servers are started, you can stop them at any time by clicking the Stop Servers button. The icons in the top-right corner will become green-colored. To start the Apache and MySQL servers, click the Start Servers button. The MAMP Control Panel application can be found in the Applications/MAMP folder. MAMP Control PanelĪfter installation, use the MAMP Control Panel to perform such actions as starting or stopping servers and changing configurations. Having installed MAMP and launched its components, we now need to tell the IDE where these components are stored and how they are configured. The MAMP installation wizard is pretty straightforward, you only need to proceed through the installation steps.
#Mamp install archive
Once the MAMP archive is downloaded, unpack it and run the installer.
#Mamp install install
Downloading and installing MAMPĭownload and install MAMP from the MAMP Downloads page.
#Mamp install download
To start developing, you will only need to download and install, and start the components using the control panel. is a good alternative to installing and configuring a Web server, a PHP engine, a database server, and a debug engine separately. It provides all the components required for developing, running, debugging, and unit testing of PHP applications. Is a reliable and fast way to set up an environment for PHP programming.
#Mamp install how to
Since installing additional packages and configuring the system environment on your own can be tricky, this guide describes how to get everything set up at once easily in a separate environment with complete MAMP package. PhpStorm-related configuration is similar to the one described in this tutorial.

MacOS comes with the pre-installed PHP interpreter and Apache server, which can be configured to work well together following the tutorial published by php.net.

The word "MAMP" is an acronym, where "M" stands for "Macintosh", meaning it's designed for macOS, and the other letters stand for the package components. MAMP is the macOS package comprising Apache HTTP server, MySQL database, PHP interpreter, and some libraries. Install and configure a debugging engine as described in Configure a debugging engine.Ĭonfigure integration with MySQL server as described in MySQL. To check your installation, open your browser and type the following URL address: The AMP welcome page appears.Ĭonfigure a local interpreter as described in Configure local PHP interpreters. Save the configuration file and restart the Web server. Locate the line ServerName localhost:80 and change it accordingly, in this example to ServerName localhost:8080. Locate the line Listen 80 and change it to, for example Listen 8080.
#Mamp install update
To solve the issue, update the server configuration file as follows: This port can be already used by other services, for example, Skype. By default, the Apache HTTP server listens to port 80. If the web server does not start, most likely a port conflict takes place. Use the AMP control pane to start the components. Install and configure an AMP packageĭownload and install the desired AMP package. This folder is write-protected by default, which means that no files can be placed on the server and further processed by the PHP engine. If you are using Windows Vista, avoid installing the package in the Program Files folder. The installation procedure depends on the operating system used, follow the installation instructions provided.

It is recommended that you use version 1.7.1 or later. The LAMP package compatible with the Linux distribution used. AMP packages are operating system-specific.
