php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5758 httpd daemon dies immediately after start.
Submitted: 2000-07-24 13:43 UTC Modified: 2000-07-24 18:35 UTC
From: kalle at linuxbutiken dot com Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0 Release Candidate 2 OS: RH6.2
Private report: No CVE-ID: None
 [2000-07-24 13:43 UTC] kalle at linuxbutiken dot com
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-24 14:02 UTC] kalle at linuxbutiken dot com
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**
 [2000-07-24 18:24 UTC] joey@php.net
Please read http://bugs.php.net/bugs-dos-and-donts.php
and clarify "httpd daemin dies". Thanks.
 [2000-07-24 18:35 UTC] joey@php.net
On a closer read, it appears that the user is saying it's fixed.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 09:00:01 2026 UTC