Setting Up Remote Debugging

 

Before debugging on a server, whether using remote PHP Script or PHP Web Page debugging, certain settings need to be configured to ensure that Studio can communicate with your server.

 

 

Instructions on how to complete a procedure

To set up communication between Studio and the server on which you are debugging:

  1. Ensure the Zend Debugger is installed on your server.
    The Zend Debugger comes bundled with Zend Core and Zend Platform, but can also be downloaded as a separate component from http://www.zend.com/en/products/studio/downloads.
    To ensure your server is running the latest stable PHP distribution, see the
    Zend PHP Web Server topic.

  2. Ensure the machine on which your Studio is installed is an allowed host for your debugger.
    The method for configuring this setting will depend on whether you have Zend Core, Zend Platform or the standalone Zend Debugger installed on your system.
    See
    Setting your Zend Studio to be an Allowed Host for more information.

  3. In Studio, configure your server according to the instructions under Adding Servers in the PHP Servers Preferences.

  4. Ensure the correct settings are configured in your Debug Preferences and Installed Debuggers Preferences pages.

  5. Ensure you have a dummy.php file in your remote server's document root.

  6. If your server is situated behind a firewall or other security device, see Setting Up Tunneling for information on how to enable a communication tunnel.
    If you don't know whether your server is situated behind a firewall, contact your System Administrator.

 

 

 

Related Links

Related Links:

Zend PHP Web Server

Using the Debugger

Remotely Debugging a PHP Script

Debugging a PHP Web Page

Debugging a URL

Integrating with Zend Platform

Setting Up Tunneling

Setting your Zend Studio to be an Allowed Host

Configuring Platform to Auto detect Studio Settings