|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 09:00:01 2026 UTC |
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**