NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
httpd 2.0.52, DBG 3.2.10 and php 5.2.5


Joined: 13 Jan 2008
Posts: 4
Reply with quote
I'm running CentOS 4.2, Apache 2.0.52 Php 5.2.5 Zend Engine 2.2.0 glibc 2.3.6

When I try to load module dbg.so-5.2.x (taken from Linux\dbg-3.2.10-Linux-glibc-2.2.tar.gz of my brand new PhpEd pro 5.2) httpd hangs silently (nothing in the error_log).
The strange is that I'm (almost) sure it worked with php 5.2.4.
I did lots of tests with several configurations to find the optimal for my application.
To be sure of the final cleaning I dropped out everything and installed from scratch with yum.
Unfortunately, this time Yum triggered the brand new 5.2.5 (4 days ago released) and I lost my debugger.
Can you help me?

Regards
Claudio Laurita
View user's profileFind all posts by itotsasSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
try to see what happens under gdb (gnu debugger):
1. stop httpd
2. run
gdb /usr/sbin/httpd
3. invoke command below in the gdb console:
run -X

it will start just one instance of Apache that will be able to handle one request at a time. If it crashes with something like SIG SEGV, run bt command to see the backtrace. It will show the root of the problem.

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


Joined: 13 Jan 2008
Posts: 4
Reply with quote
Sorry, but it seems that my gdb isn't configured properly (or simply I'm not able to use it).
httpd started but nothing worked (not php at least). With or without dbg enabled. I had to give up.

Anyway, I succeed in rolling back to 5.2.4 and everything got back to life.
The cleaning path was very troubled and I found myself with Apache 2.2.6 (not a choice, just happened; yum refused to to it yesterday. Mistery)
Could it be the key of the success?
I'm a bit afraid to try again to go to 5.2.5
Any suggestion?
Should I dare?

Thank you very much for your help.

Claudio
View user's profileFind all posts by itotsasSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
generally speaking among the reports we have, there are no issues with dbg-3.2.10 and no issues with dbg under php5.2.5 in particular. I think it worth to try again and if does not work, please inspect phpinfo() in both versions and compare bit-to-bit.

Regarding gdb (GNU debugger), if you can't get php to work when you launch apache under gdb, please check httpd.conf to see the defines you may need to apply and/or options to get httpd to load additional config files such as /etc/httpd/conf.d/php.conf (I'm not sure of your linux distro please consult with CentOS guru)

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
httpd 2.0.52, DBG 3.2.10 and php 5.2.5
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