• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Problems install mod_security on Centos 4

P

panaman

Guest
i am getting this error...

[root@138 apache2]# /usr/sbin/apxs -cia mod_security2.c
/bin/sh /usr/lib/apr/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apr-0 -I/usr/include/httpd -c -o mod_security2.lo mod_security2.c && touch mod_security2.slo
In file included from modsecurity.h:37,
from mod_security2.c:18:
msc_pcre.h:18:18: pcre.h: No such file or directory
apxs:Error: Command failed with rc=65536

here are my apache versions and pcre
[root@138 apache2]# rpm -qa |grep pcre
pcre-4.5-3.2.RHEL4
pcre-devel-4.5-3.2.RHEL4
[root@138 apache2]# rpm -qa |grep httpd
httpd-2.0.52-28.ent.centos4
httpd-suexec-2.0.52-28.ent.centos4
httpd-devel-2.0.52-28.ent.centos4
[root@138 apache2]#

anyone got any ideas?
 
Back
Top