Re: PHP 4.0 Bug #8894 Updated: Upgraded to 4.0.4p1 from 4.0.4 caused apache to crash
| From: | Zeev Suraski | Date: | Sat, 03 Feb 2001 22:56:00 +0000 |
| Subject: | Re: PHP 4.0 Bug #8894 Updated: Upgraded to 4.0.4p1 from 4.0.4 caused apache to crash | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-45691@lists.php.net to get a copy of this message | ||
What probably happened is that you copied the 4.0.4pl1 .so module over the 4.0.4 one, and then ran 'apachectl restart'. That's not supposed to work, you actually have to stop the server and start it again...
Zeev
At 20:16 26/1/2001, sniper@php.net wrote:
ID: 8894 Updated by: sniper Reported By: pcory@nc.rr.com Old-Status: Feedback Status: Bogus Bug Type: Apache related Assigned To: Comments: User feedback: -------------- Well, dammit. I just moved things back to where they were last night when they were failing, and they are working correctly now. I apologize for getting you all all worked up. I thought I was being helpful. -------------- Solution: Just remember to stop / start apache when you update ANY module in it.. :) Previous Comments: --------------------------------------------------------------------------- [2001-01-25 20:38:17] sniper@php.net I just installed mod_perl into my test system. No problems at all. So how did you configure / compile mod_php ? And did you do 'apachectl stop ; apachectl start' right after the update of PHP ??? Could you please try changing the order of those directives again and then do stop/start for apache again and see if it works? --Jani --------------------------------------------------------------------------- [2001-01-25 20:18:04] sniper@php.net User feedback: ----------- ./configure --with-mysql=/usr --with-pgsql=/usr --with-apxs=/usr/local/apache/bin/apxs ----------- Could you please try to generate a GDB backtrace of the crash? --Jani --------------------------------------------------------------------------- [2001-01-25 05:54:39] sniper@php.net What was the configure line used for PHP ? --Jani --------------------------------------------------------------------------- [2001-01-24 23:13:45] pcory@nc.rr.com When I upgraded to 4.0.4p1 from 4.0.4 using the apxs mechanism, Apache (1.3.14) started crashing. I have both mod_perl and mod_php loading as DSOs. Swapping the load order of mod_php and mod_perl in the httpd.conf file, so that mod_php loaded first, solved the problem (at least for the moment).-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/LoadModule php4_module libexec/libphp4.so LoadModule perl_module libexec/libperl.soand AddModule mod_php4.c AddModule mod_perl.c --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8894 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net