| 
	
 | 
 Posted by Clodoaldo Pinto on 07/07/95 11:57 
Andy Hassall wrote: 
> On 4 Sep 2006 14:21:09 -0700, "Clodoaldo Pinto" <clodoaldo.pinto@gmail.com> 
> wrote: 
> 
> >preg_match(): Compilation failed: regular expression too large at 
> >offset 0 
> > 
> >The regular expression is 34,745 bytes long. 
> > 
>  See the LIMITATIONS section of http://www.pcre.org/pcre.txt 
 
       The  maximum  length of a compiled pattern is 65539 (sic) bytes 
if PCRE 
       is compiled with the default internal linkage size of 2. 
 
Then I suppose FC5 does not compile it with the default size of 2 
 
This is from phpinfo(): 
 
Configure Command 	 './configure' '--build=x86_64-redhat-linux' 
'--host=x86_64-redhat-linux' '--target=x86_64-redhat-linux-gnu' 
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' 
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' 
'--datadir=/usr/share' '--includedir=/usr/include' 
'--libdir=/usr/lib64' '--libexecdir=/usr/libexec' 
'--localstatedir=/var' '--sharedstatedir=/usr/com' 
'--mandir=/usr/share/man' '--infodir=/usr/share/info' 
'--cache-file=../config.cache' '--with-libdir=lib64' 
'--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' 
'--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' 
'--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' 
'--with-freetype-dir=/usr' '--with-png-dir=/usr' 
'--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' 
'--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' 
'--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' 
'--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' 
'--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' 
'--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' 
'--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' 
'--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' 
'--enable-memory-limit' '--enable-shmop' '--enable-calendar' 
'--enable-dbx' '--enable-dio' '--with-mime-magic=/etc/httpd/conf/magic' 
'--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' 
'--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' 
'--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' 
'--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' 
 
Regards, Clodoaldo Pinto
 
  
Navigation:
[Reply to this message] 
 |