Enabling PHP support
After you have downloaded, installed, and configured the tools that make your development environment, you need to integrate them with PhpStorm 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 PhpStorm, 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
- Make sure the PHP plugin is enabled. The plugin is bundled with PhpStorm and activated by default. If not, enable it as described in Enabling and Disabling Plugins.
- Synchronization with Web servers is provided via the Remote Hosts Access bundled plugin. The plugin is bundled with PhpStorm and activated by default. If not, enable it as described in Enabling and Disabling Plugins.
In this sections:
- Configuring Remote PHP Interpreters
- Configuring Local PHP Interpreters
- Enabling PHP Support in a Project