Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

2 Answers 2

up vote 3 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]
suhosin.simulation = On

Then restart apache, sudo service apache2 restart

share|improve this answer
1  
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 at 18:24

Type in terminal:

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

Your Answer

 
discard

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.