Setting your Zend Studio to be an Allowed Host

 

This procedure describes how to ensure the machine on which your Zend Studio is installed will be an Allowed Host for initiating your Debug  and Tunneling session on the remote server.

 

The steps you need to follow will depend on whether you have Zend Server, Zend Platform, Zend Core or the standalone Zend Debugger installed on your server:

Note:

If you have both Zend Platform and Zend Core installed on your remote server, you only need to configure Zend Studio as an Allowed Host in one of them.

 

 

Instructions on how to complete a procedure

If Zend Server is installed:

  1. Open your Zend Server GUI.

  1. Go to the Server Setup | Debugger tab.

  1. Ensure the address of your Zend Studio is included in the Allowed Hosts sections.
    To add an address to the list:

  1. Under the Allowed Zend Studio Clients for Debugging category, enter the IP of the machine on which your Zend Studio is installed

  2. Click Add.
    The IP Address is added to the Allowed Hosts list.

  3. Ensure your Studio's IP address is not in the Denied Hosts list.
    If it is, click Remove next to the required address to remove it from the list.

  4. Click the button to apply your settings.

 

 

If Zend Platform is installed on your server:

 

 

Instructions on how to complete a procedure

  1. Open your Zend Platform GUI.

Note:

This can be done from within Zend Studio by selecting the server on which you have configured your Zend Platform integration from the drop-down list next to the Zend Platform icon on the toolbar .

  1. Go to the Configuration | Studio tab.

  1. Ensure the address of your Zend Studio is included in both the Allowed Hosts and Allowed Hosts for Tunneling (if necessary) sections.
    To add an address to the lists:

    1. Click Add.
      The Add New Allowed Host dialog will open.

    2. Enter the IP address and Net mask of the machine on which your Zend Studio is installed and click Save.

  2. Your Zend Studio machine's address will be added to the  list.

  3. Ensure the IP address is not in the Denied Hosts list.
    If it is, click Remove next to the required address to remove it from the list.

  4. Under the 'Other Settings' category, set the Debug Server to expose itself (indicate that it is loaded) to remote clients by selecting 'Always' from the Expose Remotely drop-down list.

  5. Click to save your settings.

  6. Restart your Web server for the settings to take effect.

 

 

If Zend Core is installed on your server:

 

 

Instructions on how to complete a procedure

  1. Open your Zend Core GUI.

  2. Go to the Configuration | Zend Debugger tab.

  1. Ensure the address of your Zend Studio is included in both the Allowed Hosts and Allowed Hosts for Tunneling (if necessary) sections.
    To add an address to the lists:

  1. Click Add .
    A new Allowed Host / Allowed Host for Tunneling line will appear with the IP 0.0.0.0.

  2. Enter the IP address and Net mask of the machine on which your Zend Studio is installed.

  1. Ensure the IP address is not in the Denied Hosts list.
    If it is, click Remove next to the required address to remove it from the list.

  2. Under the 'Expose Remotely' category, set the Debug Server to expose itself to remote clients by selecting 'Always' from the drop-down list.

  3. Click to save your settings.

  4. Restart your web server for the settings to take effect.

 

 

If only the standalone Zend Debugger is installed on your server:

 

 

Instructions on how to complete a procedure

  1. Open your php.ini file.

  2. Edit the zend_debugger.allow_hosts and zend_debugger.allow_tunnel (if necessary) parameters to include the IP address of the machine on which your Zend Studio is installed.
    e.g. zend_debugger.allow_hosts=127.0.0.1/32
    zend_debugger.allow_tunnel=127.0.0.1/32

  3. Ensure the address is not in your zend_debugger.deny_hosts parameter list.

  4. Set the Debug Server to expose itself to remote clients by setting the zend_debugger.expose_remotely parameter to Always.
    (e.g. zend_debugger.expose_remotely=always).

  5. Save the file.

  6. Restart your Web server for the settings to take effect.

 

 

 

Related Links

Related Links:

Setting Up Remote Debugging

Ensuring the Placement of dummy.php

Remotely Debugging a PHP Script

Debugging a PHP Web Page

Setting Up Tunneling