php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #15724 Installing PHP as a module - documentation error
Submitted: 2002-02-26 02:38 UTC Modified: 2002-02-26 04:59 UTC
From: kathuw at swbell dot net Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.1.1 OS: Windows
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: kathuw at swbell dot net
New email:
PHP Version: OS:

 

 [2002-02-26 02:38 UTC] kathuw at swbell dot net
To whom it may concern,

I recently downloaded PHP for windows, as a binary file.

I also installed apache 1.3.x for windows and set it up to run as a service.

Now, I wanted to run php as a module for apache so I used the install guide provided.

The guide failed to state that once you add in the:
LoadModule php4_module c:/php/SAPI/php4apache.dll
AddType application/x-httpd-php .php

You must also add in a line to the "Addmodule" section directly below, namely:
AddModule mod_php4.c

Otherwise you are returned with an error:
[error] Cannot remove module mod_php4.c: not found in module list

This error won't allow apache to send php the .php scripts to interpret them. Thus showing a blank screen.

It's a minor oversight, but to a fledgling PHP'er it could be a put off from using php or apache.

Yours,
Huw Dowden

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-26 04:59 UTC] goba@php.net
This is describen on the Apache-Windows page
for a long time now... Please read the manual carefully.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 08:01:34 2025 UTC