IntelliJ IDEA 14.1.0 Help


File | Settings | Languages and Frameworks | PHP

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

Use this dialog box to configure PHP engines as interpreters, see Configuring Local PHP Interpreters and Configuring Remote PHP Interpreters.

ItemTooltip and
Name In this text box, type the identifier to distinguish the installation from others, for example, php_installation_<version>.
PHP executable In this text box, specify the path to the PHP engine. Type the path manually or click the Browse button browseButton.png and choose the executable file in the dialog box that opens. IntelliJ IDEA detects the version of PHP and displays it in the PHP version read-only field.

IntelliJ IDEA also detects the debugging engine and the php.ini configuration file. The type of the debugging engine associated with the PHP interpreter and its version are displayed in the Debugger read-only field. If no debugger is detected, the field shows Debugger: Not installed.

The location of php.ini is displayed in the Configuration file read-only field. To edit the php.ini in IntelliJ IDEA, click Open in Editor.

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 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.
Configuration Options Use this text box to customize the configuration settings of the installation by composing 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

ItemTooltip 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
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
Alt+Up / Alt+Down
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


Web Resources:

Last modified: 14 July 2015