Recently, I met some unusual problem after some of hosting servers are using Suhosin. It is kinda good for PHP environment but it could cause problem without any proper configuration.
For instance when you tailing /var/log/message :
Jul 21 21:52:26 server suhosin[19015]: ALERT – configured POST variable limit exceeded – dropped variable ‘18_EditView’ (attacker ‘123.123.123.123′, file ‘/home/name/public_html/folder/index.php’)
You could not find this error if tailing apache error log.
How to get rid it. You just need to increase Suhosin variables in root php.ini if you did not configure it after installing Suhosin. I would use below settings.
[suhosin]
suhosin.request.max_vars = 500
suhosin.post.max_vars = 500
0 Responses
Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.