IntelliJ IDEA 14.1.0 Help


File | Settings | Languages and Frameworks | PHP

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. Once enabled, the plugin is available at the IDE level, that is, you can use it in all your IntelliJ IDEA projects.

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 you are going to use. Each functionality scope is associated with PHP version that supports this functionality. Depending on this choice, IntelliJ IDEA will provide your with the relevant coding assistance.
Interpreter From this drop-down list, choose the installation to use in the current project. The list contains all the currently available PHP interpreters.
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, IntelliJ IDEA displays the corresponding error message.
show_php_info.png 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 Interpreters dialog box are not listed.
browseButton.png Shift+Enter Click this button next to the Interpreter drop-down list to create a new IntelliJ IDEA-wide PHP installation configuration in the Interpreters dialog box, that opens, see Configuring Local PHP Interpreters and Configuring Remote PHP Interpreters.
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 IntelliJ IDEA 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

Last modified: 14 July 2015