I'm trying to install suhosin extension on my centos 6 server. But "make" command returns the following error (I already running php 5.4)
Code:
/bin/sh /usr/src/suhosin/suhosin-0.9.38/libtool --mode=compile cc -I. -I/usr/src/suhosin/suhosin-0.9.38 -DPHP_ATOM_INC -I/usr/src/suhosin/suhosin-0.9.38/include -I/usr/src/suhosin/suhosin-0.9.38/main -I/usr/src/suhosin/suhosin-0.9.38 -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/src/suhosin/suhosin-0.9.38/suhosin.c -o suhosin.lo
mkdir .libs
cc -I. -I/usr/src/suhosin/suhosin-0.9.38 -DPHP_ATOM_INC -I/usr/src/suhosin/suhosin-0.9.38/include -I/usr/src/suhosin/suhosin-0.9.38/main -I/usr/src/suhosin/suhosin-0.9.38 -I/usr/local/php5/include/php -I/usr/local/php5/include/php/main -I/usr/local/php5/include/php/TSRM -I/usr/local/php5/include/php/Zend -I/usr/local/php5/include/php/ext -I/usr/local/php5/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /usr/src/suhosin/suhosin-0.9.38/suhosin.c -fPIC -DPIC -o .libs/suhosin.o
/usr/src/suhosin/suhosin-0.9.38/suhosin.c:1059:2: error: #error Suhosin Extension is not designed to run with PHP versions lower than 5.4.
make: *** [suhosin.lo] Error 1
Last edited: