PHP 4.0 Bug #5758 Updated: httpd daemon dies immediately after start.
| From: | Bug Database | Date: | Mon, 24 Jul 2000 12:02:06 +0000 |
| Subject: | PHP 4.0 Bug #5758 Updated: httpd daemon dies immediately after start. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25701@lists.php.net to get a copy of this message | ||
ID: 5758
User Update by: kalle@linuxbutiken.com
Status: Open
Bug Type: Installation problem
Description: httpd daemon dies immediately after start.
I moved the LoadModule line to the top of the LoadModule-chapter of the httpd.conf-file.
If anyone else's got this lame error, the error is still listed below... :-/
**fixed**
I have compiled php as described below.
Before installation, Apache works fine, documents can be viewed etc. but
after installing
PHP the httpd daemon dies immediately after start.
When I remove the following lines from /etc/httpd/conf/httpd.conf;
________
LoadModule php4_module /etc/httpd/modules/libphp4.so
<cut>
AddModule mod_php4
________
; the daemon works fine, i.e. httpd does not die, the web page is
accessible etc. (w/o
php support ofcourse)
PHP installation commands:
$ cd php-4.0.1pl2
$ ./configure --with-apxs --with-mysql=/usr
$ make
$ make install
Apache information:
(standard default precompiled RPM binaries from RH6.2 distribution)
apache-1.3.12-2
apache-devel-1.3.12-2
apache-manual-1.3.12-2
MySQL information:
(RPM's)
MySQL-3.23.18-1
MySQL-client-3.23.18-1
MySQL-devel-3.23.18-1
MySQL-shared-3.23.18-1
Kernel: linux-2.2.14
**NOTE**: I have done *EXACTLY* the same thing on TWO computers, both
with different
configurations.
I have installed earlier versions of PHP (4.0.0) without problem on both
machines.
The same fault occured on both computers, i.e. the httpd-daemon died
immediately.
Thankful for response!
/Kalle
**fixed**
Full Bug description available at: http://bugs.php.net/version4/?id=5758