Enabling PHP support
After you have downloaded, installed, and configured the tools that make your development environment, you need to integrate them with IntelliJ IDEA and activate their support in the project you are going to work with. Basically, all you need to start is configure your PHP installation as an interpreter. You can have several PHP engines installed on your computer, or on remote hosts, or in Vagrant virtual development environments and configured as interpreters in IntelliJ IDEA, see Configuring Local PHP Interpreters and Configuring Remote PHP Interpreters. However, within a project, you can have only one of these interpreters activated.
Optionally, you can also enable support of other PHP development tools, see Configuring Synchronization with a Web Server, Configuring a Debugging Engine, PHP-Specific Command Line Tools, Testing PHP Applications.
Before you start
- Install and enable the PHP plugin as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins.
Synchronization with Web servers is provided via the Remote Hosts Access bundled plugin.
The plugin is not bundled with IntelliJ IDEA, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins. Once enabled, the plugin is available at the IDE level, that is, you can use it in all your IntelliJ IDEA projects.
In this sections: