How to increase max_input_vars

php.ini max_input_vars=1000
Number of inputs on this page=2568
This form is very large and data will be truncated unless you edit php.ini. Add the line max_input_vars=5000 to your php.ini file on your server.

I am adding
php_value max_input_vars 1000

in .htaccess file.

Still it is giving same error. please help.

Eiffeld, adding “php_value max_input_vars 1000” to .htaccess will keep it the same as it already is: try “php_value max_input_vars 5000” and you should be OK. Are you running your own server? If so, you need to make sure that .htaccess is allowed in Apache config. If you are on a hosted server, you need to make sure that your host allows it. Let me know how you get on. Ross

Hi Ross, php_value max_input_vars 5000
in .htaccess file is not helping out.

I am using godaddy windows hosting. Please help.
In addition to it I tried putting my own php.ini file at root directory and tried to check it by file.

and found below info.

Loaded Configuration File C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP54\php.ini
Scan this dir for additional .ini files (none)
Additional .ini files parsed (none)



In this case I would consult godaddy support, as they are better placed to provide an answer. I am not familiar with how they set up their Windows servers, and a quick search has turned up nothing definitive for me.

Once you find the answer, please post here if you have time. Thanks!