You are here: User Guide > Reference > PHP Preferences > PHP Servers Preferences

PHP Servers Preferences

The PHP Servers Preferences page will display a list of your currently configured servers and allow you to add servers or edit settings for existing servers. The server settings will be used for debugging/profiling files on a remote server.

The PHP Servers Preferences page is accessed from Window | Preferences | PHP | PHP Servers.

PHP Servers

One server configuration setting is configured by default and will point to the URL http://localhost.

Note:

You can benefit from Zend's expertise by using the Zend Server , which includes the Zend Debugger, in order to perform optimal debugging and profiling functionalities. See Zend Server Integration for more information.
If you have a Zend Server installed on your local machine it is automatically detected and configured as the default server in the PHP Servers list. See Configuring Zend Server Settings in Zend Studio for more information.

Adding a New Server to the List or Editing an Existing Server Configuration

 

 

Instructions on how to complete a procedure

To add a new server to the list or edit an existing server configuration:

  1. Click New,
    -OR-
    Select an existing server and click Edit.

  1. Enter the name of your server.

  2. Enter the URL that points to its document root.

  1. Path Mapping tab - If you would like to map a path on your server to a local path, click Add and enter:

  • The path on your server.

  • The path you would like to map it to in your Workspace or on your File System.
    See Managing Path Maps for more information.

  1. Zend Server tab - If you would like to enable integration with Zend Server , mark the 'Enable Zend Server  Integration' checkbox and enter the relevant information:

  • URL Suffix - The suffix which should be added to the URL of your document root in order to browse to your Zend Server GUI.

  • Port number - Enter the port number you defined during Zend Server installation.
    See the Zend Server FAQ site for default port number settings.

  • Password - The password used to access your Zend Server GUI.

  1. Tunnel tab - If you would like to enable Tunneling, mark the 'Enable Tunneling' checkbox and enter the relevant information:

  • Specify Return Host - If the debug session occurs on a node other than the central server, unmark the checkbox and specify the IP address of the central server to which the tunnel will be opened.

  • Automatically Connect on Startup

  • Send Authentication Information - User Name and Password.
    See Setting Up Tunneling for more information.

  1. Click Finish.

Your new server configuration will be added to the server listand will be available for actions such as debugging, profiling and Zend PlatformZend Serverintegration.

 

 

Related Links:

Debugging

Debugging a PHP Web Page

Working with the Profiler

Zend Server Integration

Defining a Zend Platform Server

PHP Preferences

 

 

©1999-2012 Zend Technologies LTD. All rights reserved.