Overview
The PHP variable “max_input_vars” was introduced in PHP 5.3.9+ as a security measure to limit the maximum amount of POST variables submitted, by default this limit is set to 1000.
In the Apache error log you will see an error like this:
"PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini."
To resolve, the default value can be increased as per below.
Shared Hosting
Create or update your .user.ini file and add the following line:
max_input_vars = 3000
VPS Hosting
- Log into Plesk.
- Click on PHP Settings:
- At the bottom of the page in Additional configuration directives field add “max_input_vars” parameter with recommended value or greater:
max_input_vars = 3000