The goal behind Suhosin is to be a safety net that protects servers from insecure PHP coding practices.
Check PHP is installed from the command,
php -v
Also check for the file
/etc/php.d/suhosin.ini for any entry of the file
suhosin.so and commented. If not there, proceed with the installation,
# yum install php-devel
# wget http://download.suhosin.org/suhosin-0.9.33.tgz
# tar -xvf suhosin-0.9.33.tgz
# cd suhosin-0.9.33
# phpize
# ./configure
# make
# make install
# echo 'extension=suhosin.so' > /etc/php.d/suhosin.ini
Start the apache service
/etc/init.d/httpd start
Check for suhosin is installed from the command php -v.
Check PHP is installed from the command,
php -v
Also check for the file
/etc/php.d/suhosin.ini for any entry of the file
suhosin.so and commented. If not there, proceed with the installation,
# yum install php-devel
# wget http://download.suhosin.org/suhosin-0.9.33.tgz
# tar -xvf suhosin-0.9.33.tgz
# cd suhosin-0.9.33
# phpize
# ./configure
# make
# make install
# echo 'extension=suhosin.so' > /etc/php.d/suhosin.ini
Start the apache service
/etc/init.d/httpd start
Check for suhosin is installed from the command php -v.