Re: PHP suddenly stops working on FreeBSD

From: Date: Wed, 10 May 2006 14:31:26 +0000
Subject: Re: PHP suddenly stops working on FreeBSD
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-235884@lists.php.net to get a copy of this message
Paul Waring wrote:
On 10/05/06, Jochem Maas <jochem@iamjochem.com> wrote:
the php may be being loaded in via an include conf file .... do you havbe a line in httpd.conf that start with 'Include' ?
Only one, and that includes some virtual host files (I don't think those are the problem, as Apache usually complains if there's an actual error in the configs).
what is the configure line used to build php? (does it contain a configure option '--with-apxs2' ?)
I don't know, I'm building it with FreeBSD ports so I don't see the configure line. I do see this in the log though: Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no
one of the above should be saying yes - although how you get the FreeBSD ports to do that I don't know. the mystery remains as to why php was working before. maybe it was running as a CGI - but then there should be the relevant declarations in the httpd.conf.
checking for mod_charset compatibility option... no checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... no
does the php error log OR the apache error log mention anything related to php start up when you have the 'LoadModule' in httpd.conf commented out?
The Apache log has: [Wed May 10 14:15:50 2006] [notice] caught SIGTERM, shutting down [Wed May 10 14:15:53 2006] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
ah snake oil ;-) not that that has anything to do with it :-)
[Wed May 10 14:15:54 2006] [notice] Apache/2.0.58 (FreeBSD) mod_python/3.2.8 Python/2.4.3 configured -- resuming normal operations [Wed May 10 14:27:25 2006] [notice] caught SIGTERM, shutting down [Wed May 10 14:27:28 2006] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads. [Wed May 10 14:27:29 2006] [notice] Apache/2.0.58 (FreeBSD) mod_python/3.2.8 Python/2.4.3 configured -- resuming normal operations [Wed May 10 14:48:01 2006] [notice] caught SIGTERM, shutting down [Wed May 10 14:48:04 2006] [notice] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads. [Wed May 10 14:48:05 2006] [notice] Apache/2.0.58 (FreeBSD) mod_python/3.2.8 Python/2.4.3 configured -- resuming normal operations [Wed May 10 14:49:52 2006] [notice] caught SIGTERM, shutting down Which isn't terribly helpful. Paul -- Data Circle http://datacircle.org


« previous php.general (#235884) next »