File | Settings | Languages and Frameworks | PHP | Servers
The page is available only when the PHP and the Remote Hosts Access plugins are installed and enabled.
The plugins are not bundled with IntelliJ IDEA, but they are available from the JetBrains plugin repository. Once enabled, the plugins are available at the IDE level, that is, you can use it in all your IntelliJ IDEA projects. See Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins for details.
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 IntelliJ IDEA. 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 IntelliJ IDEA 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, IntelliJ IDEA opens its local copy chosen in the File / Directory field.|