Skip to content


ALERT – configured POST variable limit exceeded

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

VN:F [1.6.5_908]
Rating: 9.8/10 (5 votes cast)
VN:F [1.6.5_908]
Rating: +1 (from 1 vote)

Posted in PHP.

Tagged with , , , , .


0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.



Some HTML is OK

or, reply to this post via trackback.

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word