Selasa, 19 Januari 2010

ALERT - configure POST variable limit exceeded

Apabila anda mendapatkan error pada aplikasi PHP anda seperti di bawah ini :
" [Tue Jan 19 16:22:54 2010] [error] [client 192.168.2.xxx] ALERT - configured POST variable limit exceeded - dropped variable 'detailFormal' (attacker '192.168.2.xxx', file '/var/www/test.php'), referer: http://192.168.2.xxx/test.php "

Maka yg harus anda lakukan adalah dengan mengedit file suhosin.ini di /etc/php5/conf.d.
suhosin.post.max_vars = 4096
suhosin.request.max_vars = 4096


Setelah itu restart apache. Selamat mencoba & semoga bermanfaat.

Tidak ada komentar:

Posting Komentar