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|
|Click this button to define a new configuration.|
|Click this button to remove the selected configuration from the list.|
In this area, specify the connection parameters and mappings to be used during debugging sessions.
|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.|
From this drop-down list, select the debug engine to use. The available options are:
|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
|Use path mappings||
|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.|