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.

  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.