What is Suhosin?
Suhosin is an advanced protection for PHP5 installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes in independent parts, that can be used separately or in combination.
Suhosin is a great and simple way of increasing your security protection without having a immense impact on overall performance.
In this tutorial I will cover the installation and configuration of Suhosin on Debian Squeeze. I will also assume that you already have apache2 and php2 setup using this tutorial:How to install apache2, mysql5 and php5 on debian squeeze
1. Install Suhosin on Debian Squeeze:
Installation of suhosin on Debian Squeeze is simple.
apt-get update && apt-get install php5-suhosin
2. Configuring Suhosin:
The configuration file on Debian Squeeze is located in /etc/php5/conf.d/suhosin.ini.