Suhosin and maximum $_POST variables limit
April 23, 2008 – 23:30I had a problem of more than 200 $_POST variables in one of my php scripts. Something was limiting the script not to process more than 200 in the $_POST array.
After unsuccessfully trying to find some info about how to change it in php.ini or apache.conf I found a solution using Suhosin:
You simply add the following to your php.ini file after loading the suhosin module:
[suhosin]
suhosin.post.max_vars = 2000
suhosin.request.max_vars = 2000
That’s easy now
Update: remember to restart Apache after making these changes.

2 Responses to “Suhosin and maximum $_POST variables limit”
This was the first thing that came up on my google search for this problem. The solution was simple and worked without a hitch. Thanks a lot for posting this.
*don’t forget to restart apache
By Will on Jun 24, 2008
Tenho procurado por parentes, meu avô chegou no Brasil em 1928, minha família é a única com esse sobrenome nesse país.
Seu nome era Joseph Zanievicz nascido em fevereiro de 1907.
By FABÍOLA ZANIEVICZ on Aug 8, 2008