Jump to content

Changing max_input_vars?


Recommended Posts

When I try to edit my Localizations, I get this warning:

 

 

Warning, your PHP configuration limits the maximum number of fields to post in a form:

1000 for max_input_vars.

Please ask your hosting provider to increase the this limit to 1336 at least or edit the translation file manually.

 

So I logged into my server, edited the php.ini, and added…

 

 

max_input_vars = 1500 ; needed by Presta for some editing stuff

 

But I still get the same error. Any suggestions?

Link to comment
Share on other sites

  • 6 months later...

If your changes are not visible at yourdomain.com/phpinfo.php, you will most likely have to contact your host provider and ask them to make the changes for you.

 

If your changes are visible, then your php.ini file is probably not recursive. That simply means that any changes you make do not affect your subfolders. To make the php.ini recursive, add this line to your .htaccess file:

 

suphp_configpath /home/yourusername/path/php.ini

 

That should do the trick.

Link to comment
Share on other sites

×
×
  • Create New...