Re: Seg. Faults
| From: | Danny Shepherd | Date: | Wed, 08 May 2002 11:31:17 +0000 |
| Subject: | Re: Seg. Faults | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96569@lists.php.net to get a copy of this message | ||
It generally happens when you compile weird extensions into PHP or change a
lot of extensions without doing a 'make clean'. It happens here if I enable
IMAP-SSL - PHP compiles but segfaults Apache.
So, disable any extensions then recompile and, if that works, start
including the extensions and recompiling until you find the one that breaks
it.
And don't forget the 'make clean' every time - it adds time to compilation
but it's more likely to work.
HTH
Danny.
----- Original Message -----
From: "Andrew DeFever" <andrew-tech@terraworld.net>
To: <php-general@lists.php.net>
Sent: Wednesday, May 08, 2002 8:37 AM
Subject: [PHP] Seg. Faults
> Hello,
> I am currently in a perdicament with a server that used to be running an
> older expliotable version of php. sinse then I have taken it upon myself
> to upgrade to a newer version. Before this however PHP just stopped
working
> so naturally I restarted Apache the first chance I got. No dice. As soon
as
> that happened I knew I had a problem. So what I did next was go grab the
> newest version of PHP and compiled it as a DSO which my Apache server does
> support. After I did a make, and make install I checked the httpd config
> file to make sure the nessicary lines existed. They did, and I was still
> having problems after restarting the server. I then proceded to check the
> error_log in the /logs directory only to find that right after the server
> started a segmentation fault was occuring causing the server to crash. So
I
> commented out the LoadModule line in the Apache conf file and then
> restarted the server. That worked but I still have no php support. DOES
> ANYONE HAVE ANY IDEA WHY this line is causing problems please share your
wisdom.