|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [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 ? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 05:00:02 2025 UTC | 
./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.