Please refer the following steps :
a.Download latest version of Suhosin
# cd /opt
# wget https://download.suhosin.org/suhosin-0.9.32.1.tgz
Make sure that that php-devel is installed:
# yum install php-devel
b. Compile Suhosin under PHP and RHEL / CentOS Linux using the below commands
# cd suhosin-0.9.32.1
# phpize
#./configure
# make
# make install
c. Configure Suhosin on the server, using the below command.A configuration file of
Suhosin would be created
# echo ‘extension=suhosin.so’ > /etc/php.d/suhosin.ini
d. Restart apache
# service httpd restart
e. You can check if Suhosin has been installed on the server using the following:
php -v