Bug #11137 Updated: apache doesn't start with php, but does RESTART with php

From: Date: Sun, 21 Oct 2001 03:09:11 +0000
Subject: Bug #11137 Updated: apache doesn't start with php, but does RESTART with php
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-68541@lists.php.net to get a copy of this message
ID: 11137 Updated by: sniper Reported By: niekvs@yahoo.com Old Status: Open Status: Closed Bug Type: Apache related Operating System: linux (cobalt raq3) PHP Version: 4.0.5 New Comment: Should be fixed in CVS. --Jani Previous Comments: ------------------------------------------------------------------------ [2001-06-23 00:14:57] sniper@php.net This is most likely the same problem that the other bug reports on Cobalt raq are about. ------------------------------------------------------------------------ [2001-06-03 06:34:00] sniper@php.net Please try the latest release candidate: http://www.php.net/~andi/php-4.0.6RC2.tar.gz You could also try to change the order of the modules in httpd.conf (what is Resin/1.2.5 ?) --Jani ------------------------------------------------------------------------ [2001-05-27 08:57:17] niekvs@yahoo.com Hello, I'm getting a big headache from this problem i've been trying to solve the past 3 days. I don't know if it's a bug, but no one has been able to help me, so i think it might be. My server is a cobalt RaQ3, but i installed my own apache in /usr/local/apache/ (so i didn't mess with the pre-installed apache). It's version 1.3.17. The other pre-installed apache is running too, but without PHP and on another port. It's not of any use, but if i hadn't done it like this, i would have ruined the cobalt stuff. I installed PHP4.0.5 (as DSO module), the following way: == ./configure --with-mysql=/usr --with-apxs=/usr/local/apache/bin/apxs == The thing is: when i start apache: == /usr/local/apache/bin/apachectl start == It tells me apache is running. BUT, when i do ps aux, it's NOT running at all (no httpd's). There's nothing in Apache's error_log (with debug level 'debug'). All it shows is this: == [Sun May 27 07:20:11 2001] [info] mod_unique_id: using ip addr 209.217.52.25 == Then, the weird thing: when i comment-out all PHP related stuff from httpd.conf, i CAN start apache (the above way).. and if i then un-comment the PHP lines again (while apache is still running), and then RESTART apache: == /usr/local/apache/bin/apachectl restart == Then it DOES WORK! With PHP, mysql, everything! And now, the error_log shows this: == [Sun May 27 07:16:31 2001] [notice] SIGHUP received. Attempting to restart [Sun May 27 07:16:31 2001] [info] mod_unique_id: using ip addr 209.217.52.25 [Sun May 27 07:16:32 2001] [notice] Apache/1.3.17 (Unix) PHP/4.0.5 Resin/1.2.5 configured -- resuming normal operations == So.. why is this happening like this? Why does it work with a RESTART, and not with a START command? And what can i do about it? I have Apache 1.3.17. I used to have PHP4.0.3, and that worked without any of these problems. If you know anything that might help, please let me know! Also send the answer to my email address, please (niekvs@yahoo.com). Thanks a lot in advance!! Niek ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=11137&edit=1

« previous php.dev (#68541) next »