How To Install Suhosin PHP 5 Protection Security Patch on CentOS

r00t April 3, 2014

php-logo

For those of you who didn’t know, Suhosin patch is an advanced protection system for PHP installations. It was designed protect your servers against a number of well known problems in PHP applications and on the other hand against potential unknown vulnerabilities within these applications or the PHP core itself.

Install Suhosin PHP 5 Protection Security Patch on CentOS

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Download latest version of Suhosin:

 Next, run the following commands to compile Suhosin under PHP 5:

Create the suhosin configuration, type the following command:

Restart web server Nginx, Lighttpd or Apache:

Step 3. Verify Suhosin installation

 php-suhosin-version

 Suhosin should now be installed. You can check by creating a file called info.php in /var/www/html/ with the following content:

php-suhosin

The features of the Suhosin patch are listed under Engine Protection (only with patch); all the other features come with the Suhosin extension. But if you would like configure it according to your setup, then visit the suhosin configuration page for more information.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!
Share on Google+0Share on Facebook4Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon63Share on Reddit0Pin on Pinterest1
The Tags:

Leave a Comment