User Guide > Tasks > Debugging Files and Applications > Setting your Environment to be an Allowed Host

Setting your Environment 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, or the standalone Zend Debugger installed on your server:

If Zend Server is Installed

 

 

Instructions on how to complete a procedure

To set your environment to be an allowed host if Zend Server is installed:

  1. Open your Zend Server UI.

  1. Go to the Configurations | Studio Integration page.

  1. Ensure the address of your Zend Studio is included in the Allowed hosts section in the Zend Studio Client Filtering for Debugging area.
    To add an address to the list:

  1. In the the Allowed hosts section, 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.

  1. Ensure your Studio's IP address is not in the Denied hosts list.
    If it is, click 'x' next to the required address to remove it from the list.

  2. Click Save to apply your settings.

 

If only the standalone Zend Debugger is installed on your server

 

 

Instructions on how to complete a procedure

To configure your debugger to allow your Zend Studio to debug:

  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.
    For example:
    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:

Setting Up Remote Debugging

Ensuring the Placement of dummy.php

Debugging a PHP Web Page

Setting Up Tunneling

 

 

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