Re: PHP 4.0 Bug #6803 Updated: when AddModule mod_php4.c: Cannot remove module mod_php4.c: not found

From: Date: Mon, 04 Dec 2000 20:20:58 +0000
Subject: Re: PHP 4.0 Bug #6803 Updated: when AddModule mod_php4.c: Cannot remove module mod_php4.c: not found
Groups: php.dev 
Request: Send a blank email to php-dev+get-40034@lists.php.net to get a copy of this message
Thanks so much for you help. Manually stopping and starting Apache (using /etc/rc.d/init.d/httpd, which I believe to be similar to apachetl) and enabling versioning on both modules did the trick. Much Appreciated, Robert Peake MSIA Information Systems Robert@MSIA.org http://www.msia.org Bug Database <php-dev@lists.php.net> 12/04/00 06:04 AM To: Robert@MSIA.org cc: Subject: PHP 4.0 Bug #6803 Updated: when AddModule mod_php4.c: Cannot remove module mod_php4.c: not found ID: 6803 Updated by: sniper Reported By: Robert@MSIA.org Status: Feedback Bug Type: Apache related Assigned To: Comments: Have you configured PHP3 also with --enable-versioning ?? And I don't think runnning PHP/Fi concurrently with PHP 3 and PHP 4 works.. Another thing, you should do ./apachectl stop ; ./apachectl start instead of restart. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-09-18 09:11:22] Robert@MSIA.org Using the following config line: ./configure --enable-versioning --with-mysql=/usr/local/include/mysql --enable-track-vars --with-apxs I installed libphp4.so AFTER installing libphp3.so (php3) and mod_php.so (php/fi/2). Uncommenting: LoadModule php4_module modules/libphp4.so in the httpd.conf file allows httpd (Apache/1.3.12 Red-Hat-Secure/3.2 with suexec enabled) to restart fine, but uncommenting the next line: AddModule mod_php4.c crashes the httpd process when it tries to restart. No error data is available through stdout. Here is the error information from the Apache log: [Mon Sep 18 17:45:13 2000] [notice] caught SIGTERM, shutting down [Mon Sep 18 17:45:13 2000] [error] Cannot remove module mod_php4.c: not found in module list [Mon Sep 18 17:45:14 2000] [error] Cannot remove module mod_php4.c: not found in module list [Mon Sep 18 17:45:14 2000] [notice] Apache/1.3.12 (Unix) (Red Hat/Linux) PHP/3. 0.15 mod_perl/1.21 configured -- resuming normal operations [Mon Sep 18 17:45:14 2000] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin /suexec) --- The php.ini file is vanilla (straight from php.ini-dist). Robert Peake MSIA Information Systems 9/18/00 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6803

« previous php.dev (#40034) next »