Overview
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
- Edit your phprc file using FTP or SSH.
- In that file, add the following line. This raises the limit to 2000.
max_input_vars = 2000
- Kill off any PHP processes to update your new settings.
- Check your new settings using a phpinfo.php file.