Translations of this page:

PCRE Unicode Support

Das PCRE-PHP-Modul wurde ohne Unicode-Support compiliert.

http://php.net/pcre

Lösung für Red Hat Enterprise Linux Server release 5.4 (Tikanga) Die einfachste Möglichkeit ist, das RPM neu zu bauen.

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

Ein passendes Source-RPM sollte es hier geben ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/

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

Zu ändern ist hier nur:

%configure --enable-utf8

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

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

Danach noch ein Rebuild, installieren und den Apachen neu starten

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
de/faq/i2.txt · Last modified: 2012/06/06 06:25 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