General PHP Options

In this tab you set the path to the default PHP interpreter, some debugging options, and the global Include path.

PHP Interpreter

This is the path to the default PHP interpreter. The PHP interpreter is used to execute a PHP script from the command line.

You can set a PHP project to run as a command-line script in the project's Run Configuration properties. See Defining the Default Run Configuration and Customizing the Project Settings: Run Configuration. Note that you can override the default path to the PHP interpreter and set an interpreter for a project. Note also that a project can have multiple run configurations.

Click Search. The IDE searches for all PHP interpreters that you have installed. A dialog opens in which you select which interpreter to use. Alternatively, click Browse and manually browse your file system for the interpreter.

By default, the results of running a PHP project as a script are displayed in the IDE's Output window. Tick the appropriate box to display the results in a browser or the editor's main pane, instead.

Debugging

In this section, set the following options:

Global Include Path

The Global Include Path are folders that are included in all PHP projects' include paths. Click Add Folder to browse for a folder to add to the global include path.

You can move folders up or down in the global include path. Higher folders are given priority.

If you are using a PHP framework, add that framework's library folder to the global include path.

 


Legal Notices