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′, [...]
Archive for the ‘PHP’ category
ALERT – configured POST variable limit exceeded
July 21st, 2009
Allowed memory size of X bytes exhausted
October 29th, 2007
Sample error, Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) Workaround Increase PHP’s memory limit, either by adding: memory_limit = 20M to your php.ini file (recommended, if you have access) ini_set(‘memory_limit’, ’20M’); in your sites settings php file php_value memory_limit 20M in your .htaccess file The memory can adjust [...]