File | Settings | PHP
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 IntelliJ IDEA level.
|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.
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.
|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 IntelliJ IDEA level.|
|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 examine the installation details and view the full list of installation settings in a separate window. Actually, IntelliJ IDEA checks the installation and displays the result of executing the phpinfo command.|
|Shift+EnterShift+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 IntelliJ IDEA-wide PHP installation configuration in the Interpreters dialog box, that opens.|
This area shows a list of paths to PHP-related items
below the PHP home directory. The specified include paths will be used:
Use the Add and Remove buttons to manage the contents of the list. Use the Up and Down buttons to change the order of items in the list.