php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #15608 Missing instruction when installing for apache
Submitted: 2002-02-18 19:16 UTC Modified: 2002-06-18 19:26 UTC
From: planx_constant at flat1ine dot org Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.1.1 OS: Win2k
Private report: No CVE-ID: None
 [2002-02-18 19:16 UTC] planx_constant at flat1ine dot org
When installing as a module for apache, everything works fine, with the exception that there is one instruction left out: You need to add the line "AddModule mod_php4.c" in the section underneath LoadModule.  If you don't do this, *.php files get displayed as plaintext. 
I drove myself crazy trying to get this to work, until I saw the line in httpd.conf saying "# [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE, UPDATE THIS TOO!]".
You might want to change install.txt to reflect this.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-19 11:55 UTC] sander@php.net
AFAIK, only true for 1.3.21 and later on Windows... the httpd.conf-dist-win has a ClearModule directive included by default... 
Don't know if this is documented...
 [2002-02-19 11:56 UTC] sander@php.net
Dupe of 15609.
 [2002-06-18 19:26 UTC] sniper@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 19:01:36 2025 UTC