Adjusting max_input_vars


The max_input_vars directive controls how many input variables may be accepted in PHP.

By default, this is set to 1000, but your website may throw an error informing you that this value is too low. You can raise this value in a phprc file using the following steps.

These directions apply to non-DreamPress sites. If you're attempting to update your PHP settings with a DreamPress site, view the following article:

Adjusting max_input_vars

  1. Edit your phprc file using FTP or SSH.
  2. In that file, add the following line. This raises the limit to 2000.
    max_input_vars = 2000
  3. Kill off any PHP processes to update your new settings.
  4. Check your new settings using a phpinfo.php file.

See also

Did this article answer your questions?

Article last updated PST.

Still not finding what you're looking for?