#29914 [Bgs]: Warning with preg_match in apache module

From: Date: Tue, 12 Oct 2004 14:49:57 +0000
Subject: #29914 [Bgs]: Warning with preg_match in apache module
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-67481@lists.php.net to get a copy of this message
ID: 29914 User updated by: admin at profvince dot com Reported By: admin at profvince dot com Status: Bogus Bug Type: PCRE related Operating System: LFS 5.1pre1 PHP Version: 5.0.1 New Comment: That's only a workaround, not a bugfix. Previous Comments: ------------------------------------------------------------------------ [2004-10-12 08:32:34] derick@php.net As Tony said: use the bundled version. ------------------------------------------------------------------------ [2004-10-12 07:00:40] tony2001@php.net Don't use external PCRE lib, use bundled instead. ------------------------------------------------------------------------ [2004-09-28 20:55:44] dkowis at shlrm dot org I've got the same issue. With these configure options from my SourceMage distribution, I've made it work. I think that the later --with-pcre-regex without a directory makes it work. My configure opts: --with-zlib --with-zlib-dir=/usr --with-pcre-regex=/usr --with-bz2=/usr --without-pspell --with-mhash=/usr --with-mcrypt=/usr --with-mcal=/usr --with-curl=/usr --with-gmp=/usr --with-openssl=/usr --with-gettext=/usr --with-pgsql=/usr --with-mysql=/usr --with-gdbm=/usr --with-mm=/usr --with-ldap=/usr --enable-xml --with-expat-dir=/usr --disable-xslt --with-dom=/usr --without-dom-xslt --without-dom-exslt --without-tlib --with-jpeg-dir=/usr --with-png-dir=/usr --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/lib --with-pcre-regex ------------------------------------------------------------------------ [2004-08-31 16:08:11] admin at profvince dot com Okay, it works with internal regexp. Fine. But that doesn't explain why it fails with my system's libpcre. I don't have any particular preference for system pcre over internal's, but i'm curious about the reason. And if there's a possibility to link with system libs, well, that just should work. ------------------------------------------------------------------------ [2004-08-31 15:55:35] tony2001@php.net Btw, I can't reproduce the warning even with external pcrelib. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/29914 -- Edit this bug report at http://bugs.php.net/?id=29914&edit=1

« previous php.bugs (#67481) next »