Configure PHP development environment
PHP development requires the following software installed and configured:
A Web server and a PHP engine are mandatory. Starting with version 5.4, PHP interpreters contain a built-in Web server. The server is by no means intended for production but for development and testing purposes only.
A database server, if your application will use a database.
A debugging tool, if you are going to debug your application.
A command line tool, if you are going to run PHP commands from the command line.
Install the PHP plugin
This functionality relies on the PHP plugin, which you need to install and enable.
Press Ctrl+Alt+S to open the IDE settings and select
.Open the Marketplace tab, find the PHP plugin, and click Install (restart the IDE if prompted).
Configuring PHP development environment
Download, install, and configure the Web server, the PHP engine, and the MySQL server. Do one of the following:
Download, install, and configure the desired AMP package (Apache, MySQL, PHP).
Install and configure each component separately, then check your installation.
Optionally, perform these steps:
Install and configure a debugging engine.
Install and enable a testing framework.