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 that should be installed and enabled in your IDE.
The plugin is available only in IntelliJ IDEA Ultimate.
Press Ctrl+Alt+S to open the IDE settings and select
.Switch to the Marketplace tab and use the search field to find the PHP plugin.
Click Install and 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.