IntelliJ IDEA 13.1.0 Web Help

Some features described here are available in Ultimate edition only.

File | Settings | PHP

The dialog box opens when you click the Browse button browseButton   next to the Interpreter drop-down list in the Development environment section of the PHP page.


The page is available only when the PHP repository plugin is downloaded, installed, and enabled.

Use this dialog box to configure PHP installations at the IntelliJ IDEA level.

Item Tooltip and
Name In this text box, type the identifier to distinguish the installation from others, for example, php_installation_<version>.
PHP Home In this text box, specify the folder where the PHP engine, the configuration file, and other PHP-related items are located. the path manually or click the Browse button browseButton.png and choose the desired folder in the dialog that opens. IntelliJ IDEA detects the PHP version installed on your computer.
refresh.png Reload Click this button to check that the specified PHP home directory actually contains a PHP executable file. If no PHP executable is detected at the specified location, IntelliJ IDEA displays the corresponding error message.
show_php_info.png Show phpinfo This read-only field displays the current PHP installation version.
Configuration options Use this text box to customize the configuration settings of the installation by compose a string of configuration directives to be passed through the -d command line option and thus add new entries to the php.ini file.
browseButton.png Click this button to open the Configuration Directives dialog box and create a list of new php.ini entries there.

Configuration directives dialog

Item Tooltip and
Name In this text box, type the name of the new entry.
Value In this text box, type the value of the new entry.
add.png Add
or or or or
Click this button to have a new line added to the list and specify the name and value of a new entry there.
delete.png Remove
Click this button to remove the selected entry from the list.
Up / Down
or  /  or
Use these buttons to move the selected entry up or down lin the list. The order of entries in the list determine the order in which they are passed through the -d command line option.

See Also


PHP Support:

Web Resources: