I cannot access php.ini file to edit max_input_vars. How can I change it from my webroot? I had created php5.ini file within my root and added the following.
You can simply set max_input_vars via htaccess
php_value max_input_vars 2000
if you got 500 error, you should use following
<IfModule mod_php5.c> php_value max_input_vars 2000 </IfModule>
More methods can be checked by following link
How to Increase max_input_vars