|
|
 |
|
|
PHP Debugging session failed to start with the message: "connection to the client address <address> is not allowed"
This is the set of instructions to troubleshoot and fix the communications between dbg - php debugger and PhpED - PHP IDE.
Why am I seeing this message?
You may see this message if the IP address of your PhpED machine is not listed in debugger.hosts_allow directive of php.ini file used to load dbg - php debugger
What can I do to fix this issue?
If you don't have SSH tunneling setup for debugging you can:
Use dbg-wizard helper script to find out the path to php.ini file, address of your PhpED machine and get the set of the instructions to setup php debugger. Alternatively you can
- Execute phpinfo() on the dbg server to get the path to php.ini file, address of your PhpED machine
- Open php.ini file and add the address of your PhpED machine to debugger.hosts_allow in the following format: debugger.hosts_allow = host1 host2 - where host1, host2 etc - are the IP addresses of the client machines - the machines from which PHP IDE can connect to dbg.
- Stop your Web Server - please note that re-start will not work! Start it again
If you are using SSH tunnel to debug:
Follow the instructions in php_debugger_ssh.htm
I think I fixed it. How do I make sure that it is working?
You can try to start the debugging session again. If the problem persist please check the error message you are getting. Chances are it is a different message - it is likely that you need to check the commnunications between php debugger and PhpED. This set of instructions is available here
|
|
|  |
|