Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my PHPmyadmin I am seeing a warning message about Suhosin being installed, how can I remove this or disable it?

share|improve this question
up vote 4 down vote accepted

Suhosin is a PHP extension designed to protect your PHP installation, if you really want to disable it:

Edit /etc/php5/apache2/php.ini (as root) and add:

suhosin.simulation = On

Then restart apache, sudo service apache2 restart

share|improve this answer
Doesn't work for recent packages anymore since suhosin is compiled in and not longer a module. Thanks Ubuntu !! – user36848 Dec 6 '11 at 10:40
This one works on Ubuntu 12.04 server. I have tried it recently. Was scratching my head in bewilderment on why the form can't go beyond 25 file uploads, and I know I set to max at 30 under php.ini. In the end, it was this patch that was the culprit. Adding the above under php.ini solved it. Thank you for this tip! :) – Marky Jan 18 '13 at 14:02
Could not disable it by those instructions with Ubuntu 12.04.4. – cavila Sep 15 '14 at 18:24

Type in terminal:

sudo apt-get remove php5-suhosin
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.