Setting your Environment to be an Allowed Host

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

 

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 PDT to debug:

  1. Open your php.ini file.

  2. Edit the zend_debugger.allow_hosts parameters to include the IP address of the machine on which your PDT is installed.
    e.g. zend_debugger.allow_hosts=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.

 

 

 

link_icon.png

Related Links:

Setting Up Remote Debugging

Ensuring the Placement of dummy.php

Debugging a PHP Web Page