This article describes how to change the maximum number of input variables allowed for PHP scripts by using the max_input_vars directive in a php.ini file.
PHP obtains input variables from HTML forms (through GET and POST requests), as well as from any cookies enabled on a page. By default, the maximum number of input variables allowed for PHP scripts is set to 1000. You can change this amount by setting the max_input_vars directive in a php.ini file.
To change the maximum number of input variables allowed, use a text editor to add the max_input_vars directive to your php.ini file. For example, to set the maximum number of input variables to 1500, add the following setting:
max_input_vars = 1500
Subscribe to receive weekly cutting edge tips, strategies, and news you need to grow your web business.
No charge. Unsubscribe anytime.
Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.