#15084 [Com]: Cannot remove module mod_php4.c not found in module list.
| From: | roland at astrofoto dot org | Date: | Tue, 30 Jul 2002 18:31:07 +0000 |
| Subject: | #15084 [Com]: Cannot remove module mod_php4.c not found in module list. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15616@lists.php.net to get a copy of this message | ||
ID: 15084
Comment by: roland@astrofoto.org
Reported By: nielsvanhove@hotmail.com
Status: Bogus
Bug Type: Apache related
Operating System: win2k-apache 1.3
PHP Version: 4.1.1
New Comment:
I think marking this as "bogus" is a bit harsh. I just went through
the same set of problems after installing PHP 4.2.2 on a RedHat 7.2
system. The httpd.conf was unchanged from the previous version of PHP
(4.0.8), but PHP was not being invoked, even when I pulled the
<IfDefined ...> lines and left the PHP4 config lines.
Note that I have done this sort of upgrade many times, so I was baffled
as to what had changed. Certainly it was *not* my httpd.conf.
It turns out it was critical to have "Add mod_php4.c" _at the end_ of
the list; this is the same relative position of the LoadModule
directive. So your "hint" is correct, but the "at the end" turned out
to be the critical piece, at least in my case.
Why did this version of PHP require that change to my httpd.conf? I
have no idea.
Previous Comments:
------------------------------------------------------------------------
[2002-01-17 13:43:50] sander@php.net
Ask support questions on the appropriate mailinglist.
Hint: somewhere in httpd.conf, there are a bunch of modules mentioned
(the .c files), add mod_php4.c at the end of that list.
------------------------------------------------------------------------
[2002-01-17 10:03:22] nielsvanhove@hotmail.com
I've downloaded:
php-4.1.1-win32.zip
I'm using apache, which works fine. If I try to install the module (set
directorys fine, php.ini in the %systemroot% a.s.o; I set the following
in the httpd.conf:
LoadModule php4_module c:/apache/php/sapi/php4apache.dll
Then if i test the config; the following error occurs:
"Cannot remove module mod_php4.c not found in module list."
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15084&edit=1