php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1396 Bad lbphp3.module definition for Apache server
Submitted: 1999-05-10 10:47 UTC Modified: 1999-05-10 10:54 UTC
From: lampa at fee dot vutbr dot cz Assigned:
Status: Closed Package: Installation problem
PHP Version: 3.0.7 OS: NetBSD,FreeBSD,SCO5,Solaris,etc.
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: lampa at fee dot vutbr dot cz
New email:
PHP Version: OS:

 

 [1999-05-10 10:47 UTC] lampa at fee dot vutbr dot cz
Apache module configuration file libphp3.module contains this line:
 RULE_WANTHSREGEX=yes
This definition shouldn't be included in module definition
file. The reasons:
1) If the value is "default", then Apache configuration script chooses proper regexp package according system type. Some systems use system regexp in default case (BSD, Solaris).
2) If the value is "yes" in php3 module, then Apache configuration script always selects included regexp package and the user cannot change this in his/her Configuration!
3) The name WANTHSREGEX is misleading, regexp package
is always available with apache server. The real meaning
is USE_APACHE_REGEX (no = use system regex, yes = use
apache regex).



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-10 10:54 UTC] rasmus at cvs dot php dot net
When building the static PHP module against Apache, there is no way to check which 
REGEX implementation is being or will be used.  Hence we have to force one or the other.
Just about every system will work ok with the HSREGEX version.  And for those that do
not work you would build php using --with-system-regex which would then tell Apache 
to not use the hsregex implementation.

In the more modern apxs DSO build, PHP figures out which regex library Apache is using 
and chooses the same one.  At least as of version 3.0.8 it does.  But the difference here is
that Apache is already built.  

All in all, the current implementation is optimal.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 10:01:29 2024 UTC