Re: REGEXP different from 2 similar servers

From: Date: Sat, 29 Sep 2001 09:03:51 +0000
Subject: Re: REGEXP different from 2 similar servers
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-69268@lists.php.net to get a copy of this message
Dav wrote:
I have a php installed as: './configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs' '--with-gd' '--with-gettext=/usr' '--enable-safe-mode' '--with-config-file-path=/etc/httpd' '--with-exec-dir=/usr/bin' '--with-zlib' '--enable-magic-quotes' '--with-regex=system' '--with-ttf=/usr/lib/libttf.so' '--enable-track-vars' '--enable-xml' '--disable-debug' '--with-db3' '--with-interbase=shared' '--with-pgsql=shared' '--with-ldap' '--with-imap' and a second one installed as: './configure' '--with-apxs=/var/lib/apache/sbin/apxs' '--enable-trans-sid' '--with-regex=system' and it seems that ereg and ereg_replace work in a different way. In the second one works ok, in the first none of my ereg are recognized. Can anyone help ? Could it be the "magic-quotes" ?
I think you are using different "system". I thought --with-regex=system will use system's regex lib. Isn't it? Try --with-regex=php or apache. -- Yasuo Ohgaki

« previous php.general (#69268) next »