PhpStorm 7.1.0 Web Help

File | Settings | PHP

Note

The page and all the pages under this node are available only when the PHP bundled plugin is enabled. By default the plugin is active. If not, enable it in the Plugin Configuration Wizard or the Plugins page of the Settings dialog box.

Use this dialog box to configure PHP development and unit testing support in the project level by choosing one of the PHP installations configured at the PhpStorm level.

Item Tooltip and
Shortcut
Description
PHP language level In this drop-down list, specify the PHP functionality scope you are going to use. Each functionality scope is associated with PHP version that supports this functionality. Depending on this choice, PhpStorm will provide your with the relevant coding assistance.

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 installation to use in the current project. The list contains all the PHP installations configured at the PhpStorm level.
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 examine the installation details and view the full list of installation settings in a separate window. Actually, PhpStorm checks the installation and displays the result of executing the phpinfo command.
browseButton Shift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift+EnterShift EnterShift EnterShift 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.
Include path This area shows a list of paths to PHP-related items below the PHP home directory. The specified include paths will be used:
  • By the require(), include(), fopen(), file(), readfile(), and file_get_contents() functions when looking for files to use.
  • By PhpStorm when resolving references to included files.

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

Reference:

PHP Support:

Web Resources: