PhpStorm 2016.1 Help


File | Settings | Languages and Frameworks | PHP for Windows and Linux
for OS X

The page and all the pages under this node are available only when the PHP plugin is enabled. The plugin is bundled with PhpStorm and activated by default. If the plugin is not activated, enable it on the Plugins page of the Settings / Preferences Dialog as described in 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.

ItemTooltip and
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.

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 PhpStorm 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, PhpStorm suggests a Switch to PHP <version> quick-fix.

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.
refresh.png 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, PhpStorm displays the corresponding error message.
show_php_info.png Show phpinfo Click this button to have PhpStorm 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 Interpreters dialog box are not listed.
browseButton.png Shift+Enter Click this button next to the Interpreter drop-down list to create a new PhpStorm-wide PHP installation configuration in the 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, require() or include()). You also need to configure PEAR as an include path to run the PHPUnit test framework from it when the Load from include path option is chosen on the PHPUnit page of the Settings / Preferences Dialog.

Use the Add new.png  and Remove  delete.png buttons to manage the contents of the list. Use the Up arrowUp  and Down  arrowDown  buttons to change the order of items in the list.

See Also

Last modified: 12 July 2016