The page and all the pages under this node are available only when the PHP plugin is enabled. 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.
Use this page to configure PHP development and unit testing support in the project by choosing one of the available PHP interpreters, see Configuring Local PHP Interpreters and Configuring Remote PHP Interpreters.
|PHP language level|| In this drop-down list, specify the PHP functionality scope to get coding assistance for. Each functionality scope is associated with PHP version that supports this functionality. Currently PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6, PHP 7, and PHP 7.1 levels are supported. |
No correlation between the PHP version used in the project and the language level is enforced. Although the language version of each interpreter is detected automatically, you can still tell IntelliJ IDEA to provide you with coding assistance that corresponds to another language level. However, if you attempt to use a code construct that is not supported by the specified language level, IntelliJ IDEA suggests a Switch to PHP <version> quick-fix.
|CLI Interpreter||From this drop-down list, choose the PHP interpreter to use in the current project. The list contains all the currently configured local and remote PHP interpreters. See Configuring Local PHP Interpreters and Configuring Remote PHP Interpreters for details.|
|Reload||Click this button to make sure that the configuration you have chosen points at the relevant installation. If no PHP executable is detected at the specified directory, IntelliJ IDEA displays the corresponding error message.|
|Show phpinfo||Click this button to have IntelliJ IDEA display a separate information window where you can examine the installation details and view the list of loaded extension and configured options. Please note that the options specified in the Configuration Options field of the CLI Interpreters dialog box are not listed.|
|Shift+Enter||Click this button next to the CLI Interpreter drop-down list to create a new IntelliJ IDEA-wide PHP installation configuration in the CLI Interpreters dialog box, that opens, see Configuring Local PHP Interpreters and Configuring Remote PHP Interpreters.|
|Include path|| The area shows a list of configured include paths. Include paths are used for code completion and reference resolution in some functions/methods that use file paths as arguments, for example, |