How to change maximum number of POST variable in PHP?

PHP 5.3.9 introduced the max_input_vars config option, which is defaulted to a value of 1000. Check out the Runtime Configuration section of the PHP manual. The default value and the change log are at the top of the page.

The value can be changed by updating the server’s php.ini, adding an .htaccess file, or adding a line to httpd.conf.

Leave a Comment