php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #25768 Apache2: <IfModule *.c> directive should be mod_php5.c instead of sapi_apache2.c
Submitted: 2003-10-06 17:04 UTC Modified: 2003-10-21 07:48 UTC
From: ebcom at free dot fr Assigned: sniper (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 5.0.0b1 (beta1) OS: Linux SuSE 8.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ebcom at free dot fr
New email:
PHP Version: OS:

 

 [2003-10-06 17:04 UTC] ebcom at free dot fr
Description:
------------
I'm not familiar with Apache module definition, but it seems that the name of the PHP5 module main file (sapi_apache2.c) is a bit confusing if one wants to use the
  <IfModule *.c> </IfModule>
directive.

I have to use the sapi_apache2.c module parameter (<IfModule sapi_apache2.c>) to detect in httpd.conf file whether the PHP5 module is activated or not. It would be easier if the file containing STANDARD20_MODULE_STUFF were named with a PHP-based name, like mod_php5.c, wouln't it ?



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-21 07:48 UTC] sniper@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot 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 in short time.
 
Thank you for the report, and for helping us make PHP better.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 13:01:30 2024 UTC