user39653 user39653 - 22 days ago 5
PHP Question

PHP max_input_vars

I'm getting a

max_input_vars
error message.

I understand there's a
php.ini
setting that can change this starting with version 5.3.9 however, I'm running version 5.1.6.

When I view the configuration information for my 5.1.6 server it shows
max_input_vars
value is 1000.

My question is: Even though I'm running 5.1.6, I see this setting from
phpinfo()
but it's not in the
php.ini
file. Does this mean that the value is hard coded in this version of PHP and can't be changed?

Answer

You can add it to php.ini and it should work - just tested it on PHP 5.3.6.