php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15084 Cannot remove module mod_php4.c not found in module list.
Submitted: 2002-01-17 10:03 UTC Modified: 2002-01-17 13:43 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: nielsvanhove at hotmail dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.1.1 OS: win2k-apache 1.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nielsvanhove at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-01-17 10:03 UTC] nielsvanhove at hotmail dot 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."

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-17 13:43 UTC] 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-07-30 14:31 UTC] roland at astrofoto dot org
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Nov 08 21:01:28 2024 UTC