Menu
- PNP4Nagios 0.6.x
- PNP4Nagios 0.4.x
Das PCRE-PHP-Modul wurde ohne Unicode-Support compiliert.
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