Suhosin can be disabled by 2 methods:

1. Disable Suhosin using php.ini:

Open the php.ini file and add the following code:

suhosin.simulation = On

NOTE: On means disabled and  Off means enabled.

Now restart the Apache2 server and Suhosin will be disabled.

/etc/init.d/apache2 restart

2. Disable Suhosin for specific domain using  .htaccess file: Continue Reading…

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.

Continue Reading…

Page 1 of 11