Adding a Server Location Path Map

This procedure describes how to add a Path Map to a server so that files which are called from a certain location on the server will be searched for in a local location during remote PHP Script debbuging/profiling and PHP Web Page debugging /profiling. This will only apply when  the 'use local copy' option is selected in the Advanced tab of the PHP Web Page debugging configuration) .

See Path Mapping for more details

 

 

Instructions on how to complete a procedure

To add a Path Map to a server:

  1. Open the PHP Servers Preferences Page by going to Window | Preferences on the Menu Bar and selecting PHP | PHP Servers from the Preferences list.

  2. Select the server on which you would like to create the Path Map and click Edit.

  3. In the Edit Server dialog, select the Path Mapping tab.

  4. Click Add.

  5. An Add new Path Mapping dialog appears.

  6. Enter the Server Path from which you would like to create the Path Map. Files called from this location will be searched for in the path specified below.

  7. Select either the 'Path in Workspace' or 'Path in File System' option and click Browse to specify the location.

path_mapping_edit.png

Edit Path Mapping

  1. Click OK.

Your Path Map will be added to your server list.

path_mapping_dialog.png

Path Mapping Settings

The next time a file is called from the Path on Server, it will be searched for in the local location you have specified.

Note:

Path Mapping can also be set automatically during Debugging / Profiling . See the Path Mapping topic for more details.

 

 

link_icon.png

Related Links:

Path Mapping

PHP Servers Preferences

Remotely Debugging a PHP Script

Debugging a PHP Web Page

Remotely Profiling a PHP Script

Profiling a PHP Web Page