IntelliJ IDEA 14.1.1 Help


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
add.png Add
Click this button to define a new configuration.
delete.png Delete
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 IntelliJ IDEA 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 IntelliJ IDEA suggest mappings between files and folders deployed on the server and their local copies. When you start a debugging session, IntelliJ IDEA will try to detect the local copies of the application files on the server. The suggestions are displayed in a dialog box where IntelliJ IDEA 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, IntelliJ IDEA opens its local copy chosen in the File / Directory field.

See Also

Last modified: 6 April 2015