Error on suhosin installation

Rezaa

Verified User
Joined
Dec 15, 2010
Messages
75
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:
Are you sure you don't have php2_release=5.3 set in the options.conf file?
 
Hello smtalk
There is not such option in options.conf
This is my options.conf PHP settings section

Code:
#PHP settings. default_php possible values - 5 or 6, php5_ver - 5.2, 5.3, 5.4 or 5.5
default_php=5
php5_ver=5.4
php5_cli=no
php5_cgi=yes
php6_cli=no
php6_cgi=no
php_ini=no
#Possible values - recommended or dist
php_ini_type=recommended
ioncube=no
zend=no
 
suhosin is not supported in CB 1.x. I'd recommend upgrading to CB 2.0.
 
Back
Top