NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
timeout error *solved*


Joined: 07 Sep 2004
Posts: 19
Reply with quote
hey all,

for those of you who are still getting timeout errors, and the FAQ isn't helping any, I think I might have some idea what is going on.

Starting at php-???, if you compile php with:

-with-apxs=???

instead of being nice and compiling a *cgi* version of php, on solaris and on linux a *command line interface* version of php is compiled.

Hence, when the process tries to fork off for the debugger to listen to, the php that is forked off doesn't have any clue what to do with the CGI variables created to pass into dbg-cli, and the process spins in its tracks.

Now in order to rectify this, you need to compile a cgi version of php. The only way I've found to fix this is to compile php once for using inside of apache, and once for making a cgi version.

Ed

(
ps - editorial comment.. what a backwards way for php to do things. the cli/cgi distinction is tenuous at best, and what an *ugly* bug to track down!
) Confused
View user's profileFind all posts by horos22Send private message
timeout error *solved*
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