ID: 27899 Comment by: remco at linux-adept dot nl Reported By: charvel at bluemission dot com Status: No Feedback Bug Type: Apache2 related Operating System: Linux 2.4.25 PHP Version: 4.3.6RC2 New Comment:
Using PHP 4.3.5 or 4.3.6 crashes my Apache 2.0.49 doing a 'apachectl graceful'. Which is a kill for logrotation! Everything was fine untill 4.3.5 came along. Changing back to 4.3.4 solves the problem. I have tried recompiling apache etc. Nothing helps. Gracefully restarting apache gives the following in the error-logs: [Mon Apr 19 18:28:10 2004] [notice] Graceful restart requested, doing restart [Mon Apr 19 18:28:10 2004] [notice] seg fault or similar nasty error detected in the parent process And apache has to be restarted once more to get it running. Previous Comments: ------------------------------------------------------------------------ [2004-04-16 08:49:45] afraser at w3internet dot com Thought I would check the previous version of Apache, since I only got this problem after upgrading Apache (2.0.48 to 2.0.49) and PHP (4.3.3 to 4.3.5) [EMAIL PROTECTED] home] www/bin/httpd -v Server version: Apache/2.0.48 Server built: Dec 14 2003 15:23:08 [EMAIL PROTECTED] home]# www/bin/apachectl configtest [Fri Apr 16 09:46:54 2004] [crit] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP. Pre-configuration failed Probably this is not a bug... but if this makes sense to one of you gurus could you explain to us what we did wrong? ------------------------------------------------------------------------ [2004-04-13 12:44:17] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2004-04-09 11:13:18] [EMAIL PROTECTED] 1. As you're using a threaded webserver and asking for trouble this bug is pretty much bogus. (the crash happens elsewhere than in PHP itself..where is the GDB backtrace?) 2. Try adding your original configure options (those ones excluded which I told you NOT to use) one by one and see which one causes the crash, like this: # rm -f config.cache # ./configure --disable-all --with-apxs2 --with-zlib # make clean && make (try them all _separately_ first!) ------------------------------------------------------------------------ [2004-04-09 05:24:09] charvel at bluemission dot com 1. worker 2. In this case work fine. ------------------------------------------------------------------------ [2004-04-08 19:01:21] [EMAIL PROTECTED] 1. What MPM is Apache2 using? 2. Get fresh sources, and use this configure line: # ./configure --disable-all --with-apxs2 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/27899 -- Edit this bug report at http://bugs.php.net/?id=27899&edit=1