Help - Search - Members - Calendar
Full Version: Segmentation faults on php 4.3.5 and 4.3.6 but 4.3.4 works fine!
The Planet Forums > System Administration > General Support Questions
Eric
My RHEL (plain) server runs fine on php 4.3.4 but whenever i upgrade php i start getting segmentation errors in apache on some php files which causes the entire apache to freeze in error log there is:

[Thu Apr 15 18:39:49 2004] [notice] child pid 4520 exit signal Segmentation fault (11)

Whenever i downgrade back to php 4.3.4 it all works fine again, but i dont want to be stuck with this old version.

I have tried disable zend, makes no difference.

Can anyone help?
REBIS
Which ver of Apache are you running?
Eric
apache 2.0.49
i have tried reinstalling apache too makes no difference
Eric
Tried reboot the server, now i get segfaults even in php 4.3.4.

I recompiled apache to not use the worker mpm.
I still get the segfaults in the error log but at least now it doesnt crash apache anymore.
Dave#
if prefork worles and worker doesn't then it's your code that is the issue icon_smile.gif

For what it's worth I don't know anyone running worker on HIGH traffic PHP sites
Eric
using prefork just stops the segfault from taking the entire apache with it.

the segfaults still occur, the script is phpmyadmin.
also had it segfault on occasion on a script which uses sockets.
it has worked fine for ages until i upgraded php.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.