PhpStorm 8.0.0 Web Help

File | Settings | Languages and Frameworks | PHP | Servers


The page is available only when the PHP and the Remote Hosts Access plugins are enabled. The plugins are bundled with PhpStorm and activated by default. If not, enable them as described in Enabling and Disabling Plugins.

On this page, configure HTTP access for debugging engines to interact with local and remote Web servers, see Working with Web Servers: Copying Files.

The left-hand pane of the page shows a list of all the server access configurations available in PhpStorm. When you select a configuration, the right-hand pane shows the configuration details.

Toolbar and common options

Use the toolbar buttons to manage the list of configurations.

Item Tooltip and shortcut Description
add.png Add
InsertInsertInsertInsertInsertInsertInsertInsertShift BackspaceShift BackspaceShift Backspace
Click this button to define a new configuration.
delete.png Delete
DeleteDeleteDeleteDeleteDelete or Ctrl+DDeleteDeleteDeleteDelete, Backspace or Command BackspaceDelete, Backspace or Command BackspaceDelete, Backspace or Command Backspace
Click this button to remove the selected configuration from the list.

Configuration details

In this area, specify the connection parameters and mappings to be used during debugging sessions.

Item Description
Name In this text box, type the name of the server debug configuration.
Host In this text box, type the name of the host where the target application is deployed.
Port In this text box, type the port to connect to the specified host through. If you are using localhost on your machine, this setting should correspond with the port specified in the configuration file of the local Web server where the application will be executed or debugged.
Debugger From this drop-down list, select the debug engine to use. The available options are:
  • XDebug
  • Zend Debugger
Validate remote environment Click this button to open the Validate Remote Environment Dialog where you can choose the server access configuration to synchronize with the target environment and launch the validations script, whereupon PhpStorm will inform you about the available debugging engine, the location of the php.ini configuration files, and all the discrepancies in configuration detected.
Use path mappings
  • Clear this check box to have PhpStorm suggest mappings between files and folders deployed on the server and their local copies. When you start a debugging session, PhpStorm will try to detect the local copies of the application files on the server. The suggestions are displayed in a dialog box where PhpStorm asks you to confirm or edit suggested mappings.
  • Select this check box, to specify correspondence between files on the server and their local copies manually. Then map files and folders on the server to their local copies using the Path on server and File/Directory fields respectively.
File / Directory This read-only field displays the local folders of the current project in a tree view. Select a file ot a folder to be used as the local copy.
Path on server In this filed, specify the file or folder on the target server to which the selected local file or folder corresponds. Type the path manually or select it from the drop-down list. When this file or a file from this folder is being processed during a debugging session, PhpStorm opens its local copy chosen in the File / Directory field.

See Also

Procedures:

Reference:

Web Resources: