php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23776 --with-regex=apache makes apache unable to resolve 'php_regcomp' when starting.
Submitted: 2003-05-23 07:49 UTC Modified: 2003-05-26 07:17 UTC
From: kostya at defender dot ru Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: 4.3.2RC4 OS: Linux-2.4.20, glibc-2.1.2
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: kostya at defender dot ru
New email:
PHP Version: OS:

 

 [2003-05-23 07:49 UTC] kostya at defender dot ru
If I compile PHP as apache's module, using 'apache' regex, then Apache fails to start complaining: 
-- Cannot load /usr/apache/lib/libphp4.so into server: /usr/apache/lib/libphp4.so: undefined symbol: php_regcomp

The other 'configure' options does not affect this problem. Specifically, 'configure' may be:
./configure --prefix=/usr \
   --with-apxs=/usr/apache/apxs \
   --with-regex=apache \
   --disable-all --disable-cgi --disable-cli --disable-ipv6

My apache configuration seems relevant to this issue:

- apache-1.3.27, patched with 
- mod_ssl-2.4.18.

Apache compile-time 'configure' options include --disable-rule=WANTHSREGEX. This forces apache not to use bundled regex library, but use 'system' regex instead.

The same problem was also observed with prior 4.3.2RC3 PHP release candidate.

Yes, I know that workaround is to indicate '--with-regex=php', and use bundled regex library. But... what shared libraries exists for ?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-23 07:53 UTC] derick@php.net
./configure --help shows:

  --with-regex=TYPE       regex library type: system, apache, php. Default: php
                          WARNING: Do NOT use unless you know what you are doing!

Don't touch it.
 [2003-05-26 07:17 UTC] kostya at defender dot ru
Well, well...
Bogus answer, not question...
You should give me the catch to make me know about.

> ./configure --help shows:
>   --with-regex=TYPE  regex library type: system, apache, php.
> Default: php WARNING: Do NOT use unless you know what you are doing!
> 
> Don't touch it.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 05 12:01:27 2024 UTC