Patching PHP with Suhosin
Originally called the Hardening-Patch, Suhosin is a Korean word meaning guardian angel and, while it's not quite so brilliant, it's nonetheless a must-have PHP accessory. It helps to shield servers from fallible code. The complete spec, as long as your arm, can be found at http://hardened-php.net/suhosin/index.html.
Installing Suhosin
The chances are you already have Suhosin. The easiest check requires the phpinfo()
function to be re-enabled, sorry! Create somepage.php
, insert <?php phpinfo();?>
within, browse to the page and search for Suhosin. If you can't find it, install it:
sudo aptitude install php5-suhosin