Translations of this page:

PCRE UTF-8 PCRE

PCRE UTF-8 PCRE no se ha compilado con el adecuado soporte de Unicode.

http://www.php.net/pcre

Solución para Red Hat Enterprise Linux Server release 5.4 (Tikanga)

La forma más fácil es reconstruir el RPM

pcretest -C
PCRE version 6.6 06-Feb-2006
Compiled with
  UTF-8 support
  No Unicode properties support
  Newline character is LF
  Internal link size = 2
  POSIX malloc threshold = 10
  Default match limit = 10000000
  Default recursion depth limit = 10000000
  Match recursion uses stack

El paquete fuente del RPM está disponible en ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/

rpm -ivh pcre-6.6-2.el5_1.7.src.rpm

Cambie:

%configure --enable-utf8

%configure --enable-utf8 --enable-unicode-properties

/usr/src/redhat/SPECS/pcre.spec

Ahora recontruya el paquete, instale y reinicie Apache

rpmbuild -ba /usr/src/redhat/SPECS/pcre.spec
rpm -Uvh /usr/src/redhat/RPMS/i386/pcre-6.6-2.7.XX.rpm
PCRE version 6.6 06-Feb-2006
Compiled with
  UTF-8 support
  Unicode properties support
  Newline character is LF
  Internal link size = 2
  POSIX malloc threshold = 10
  Default match limit = 10000000
  Default recursion depth limit = 10000000
  Match recursion uses stack
es/faq/i2.txt · Last modified: 2012/06/06 06:27 by Joerg Linge
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0