

This enables PhpStorm to activate Xdebug when it is necessary if you have disabled it in the php.ini file, see Configuring Xdebug for Using in the On-Demand Mode.

In the Debugger extension field, specify the path to Xdebug. In the Additional area of the CLI Interpreters dialog, you can optionally customize the configuration settings of the PHP installation. PhpStorm displays the version of the PHP engine detected in the specified folder and the debugger associated with this PHP engine in the php.ini file. Type the path manually or click and select the relevant folder in the dialog that opens.

Specify the PHP engine installation directory in the PHP executable field. In the Name field, type the identifier to distinguish the interpreter from others, for example, php_installation_. In the right-hand pane of the dialog, specify the PHP interpreter's settings. If you already have a local interpreter configured in PhpStorm, it is also shown from the menu and the menu item changes to Other Local. In the CLI Interpreters dialog that opens, click in the left-hand pane, then choose Local from the popup menu. On the PHP page that opens, click next to the CLI Interpreter list. Press Ctrl+Alt+S to open the IDE settings and select PHP. A local PHP interpreter is a PHP engine installed on your computer opposite to a remote PHP interpreter that can be installed on a remote host or in a virtual environment set up in a Vagrant instance, see Configure remote PHP interpreters.īefore you begin, install a PHP engine either as part of an AMP package or separately.
