Hack for disabling suhosin when using phpmyadmin on Debian

If you apt-get install phpmyadmin on Debian/Ubuntu, you will notice the quoted warning message:

Server running with Suhosin. Please refer to documentation for possible issues.

You will get reference and possibile solutions here.

A fast get to achieve a fully working phpmyadmin on a trusted environment, is to enable the simulation mode on the phpmyadmin vhost, editing /etc/apache2/conf.d/phpmyadmin.conf and adding:

php_flag suhosin.simulation On

inside the relevant IfModule directive, for example [IfModule mod_php5.c] if you are using libapache2-mod-php5.

🇬🇧 🇺🇸 If you found value in my content, consider supporting me by treating me to a coffee, beer, or pizza. Your contributions help fuel more quality content creation.

🇮🇹 Se hai apprezzato i miei contenuti, considera di supportarmi offrendomi un caffè, una birra o una pizza. I tuoi contributi aiutano a creare contenuti di qualità.

🇬🇧 🇺🇸 If you have found inaccuracies or wish to improve this article, please use the comments section below (after clicking on Load Comments).

🇮🇹 Se hai trovato imprecisioni o vuoi migliorare questo articolo, utilizza la sezione commenti qui sotto (dopo aver cliccato Load Comments)