NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
3rd party Debugger on remote server
Veteran

Joined: 30 Aug 2006
Posts: 116
Reply with quote
I have followed all the FAQs carefully and cannot get the debugger to work remotely on a 3rd party server (Apache/PHP4.4 on Linux). I get an error that states:

"Failed to start debugger session. Please verify if debugger is installed on the server that corresponds to ...."

What I've done:

1) followed instructions on setting up the Debugger on PHP4
2) edited the php.ini to have the [Debugger] section, including adding my IP to the hosts_allowed "debugger.hosts_allow=localhost 192.168.0.251"
3) restarted apache, and used phpinfo. I can see the following: "Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with DBG v3.1.8, (C)"
4) Followed the instructions for Troubleshooting Debugger Connections. I can telnet into my IP from the server on port 7869 and the DBG Listener will correctly detect a connection from the server.

Are there any other debugging steps I can try to see what's wrong?

Thanks
View user's profileFind all posts by rudderSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
well, try to launch say info.php that continains phpinfo() call using regular browser. URL should be like this: http://myserver/info.php?DBGSESSID=1
and check if there are any errors shown in the browser output, check Apache logs and check DbgListener log.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 30 Aug 2006
Posts: 116
Reply with quote
dmitri, if I create the info file and run it I see a regular phpinfo() output with nothing special. I still see:

Code:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with DBG v3.1.8, (C)
2000,2006, by Dmitri Dmitrienko


In the DBG section I see the following:

Code:

Version    3.1.8
Linked    as a shared library.
Dbg SSL    not available
Dbg ip security    enabled.
Profiler    enabled
Target PHP version    4.4.2
Server API    Apache
Extensions API    20050606
Modules API    20020429
PHP API    20020918

Directive   Local Value   Master Value
debugger.enable_session_cookie   On   On
debugger.enabled   Off   Off
debugger.fail_silently   Off   Off
debugger.hosts_allow   protected value   protected value
debugger.hosts_deny   protected value   protected value
debugger.ignore_nops   Off   Off
debugger.JIT_enabled   Off   Off
debugger.JIT_host   clienthost   clienthost
debugger.JIT_level   3   3
debugger.JIT_port   7869   7869
debugger.net.chunksize   48000   48000
debugger.net.maxpacketsize   4096000   4096000
debugger.ports   protected value   protected value
debugger.profiler_enabled   On   On
debugger.session_nocache   On   On
debugger.timeout_seconds   300   300



I have reread the help FAQs just in case I'm missing something. I do notice that it says debugger.enabled "Off" in the phpinfo but my debugger section in php.ini is very explicit in having that on:

Code:

[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=localhost 192.168.0.251
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16


Any other hints would be appreciated.
View user's profileFind all posts by rudderSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Personally I would not expect debugger to work while it is disabled Smile
See
debugger.enabled Off Off
Please check your php.ini one more time, from the top up to the bottom.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
3rd party Debugger on remote server
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic