![]() |
| Session start timeout with dbg-cli |
|
On a RH9 machine running php 4.3.4, I get the session timeout trying to debug a php script in cli mode on a local machine:
phpinfo() says PHP has the debugger installed:
php.ini has the following dbg items:
I saw a couple of other posts at zend-optimizer-and-debugging-problem-t214.html and segfaults-using-dbg-t169.html that led me to modify my the Zend section of my php.ini and try it without the optimizer:
I got the same problem, and I also tried it after commenting out the Zend section completely. In both cases, I still get the debugger registering as follows after a php -i, but still the timeout:
Any ideas on what I could be doing wrong? |
||||||||||||||||||||||
|
|
|||||||||||||||||||||||
|
Site Admin
|
Did you set HTTP mode, Root URL and Root remote directory ?
|
||||||||||||
|
|
|||||||||||||
|
Site Admin
|
It supports two modes. HTTP and direct.
In first case, it opens HTTP connection using supplied URL, in latter case it runs whatsoever found as php binary. You may set your own cgihandler or direct dbg-cli to run anything else. It uses CGI protocol and passes the request through environment variables, appropriately. Not sure if it works with non-CGI php binary, yet. Anyways, if dbg-cli runs through Apache or using php directly, you have to make sure the dbg module is installed and enabled. From your post I see that the settings are okay but please check DBG section in phpinfo() to see if debugger is enabled. If you don't see DBG section at all, please change php.ini settings and have there extension=dbg.so instead of zend_extension=dbg.so |
||||||||||||
|
|
|||||||||||||
|
I was using Apache 2.0, and I read some concerns about that so I downgraded to Apache 1.3.29 and got the same problem.
The debugger is installed:
and loaded:
I try to debug the file and get the following:
At this point I have tried debugging a script both through Apache and the simple way described in the README from the source distribution of dbg-cli-2.11.0:
Any ideas? |
||||||||||||||||||||
|
|
|||||||||||||||||||||
| Is the CLI using the correct port? |
|
Could this be a port problem?
|
||||||||||||
|
|
|||||||||||||
| Same problem here. |
|
Hi
I have the same problem. I am runing Redhat Linux 9. PHP (4.3.2) is a module in Apache. I have the dbg module installed and verified through phpinfo();. I started the dbg-cli in the same machine in a shell window and set the mode, mapurlroot, mapremoteroot, maplocalroot. It gave me the "start timeout has expired" error message. What else can I try ? Is there a way to get more information on why dbg-cli times out ? Has anyone had any success with this set up ? |
||||||||||||
|
|
|||||||||||||
|
Has there been any solution to this?
dbg-cli version 2.11.0 dbg version 2.11.23 mod_php version 4.3.4 Apache2 version 2.0.48 |
||||||||||||
|
|
|||||||||||||
|
Site Admin
|
Last time I compiled dbg-cli, I was using gcc 2.96.
With gcc 3.x I got some weird problems and seems not all of them are solved. I'll get back after I find a solution. |
||||||||||||
|
|
|||||||||||||
| aHA! |
|
Found my problem.
I was setting mode to 1 instead of to on. The documentation really should be corrected... |
||||||||||||
|
|
|||||||||||||
| Session start timeout with dbg-cli |
|
||
|
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by


RSS2 Feed