How can I change the value of max_input_vars
there are several ways
1.you can add following codes in your php file
ini_set('max_input_vars', 2000);
2.Adding the directive into php.ini
max_input_time = 2000
If a Suhosin PHP extension is installed, you should also check these:
suhosin.post.max_vars = 2000 suhosin.request.max_vars = 2000
3.placing following lines into .htaccess
php_value max_input_vars 2000 php_value suhosin.get.max_vars 2000 php_value suhosin.post.max_vars 2000 php_value suhosin.request.max_vars 2000
if you got 500 error, you can use following
<IfModule mod_php5.c> php_value max_input_vars 2000 </IfModule>
If your Server API = CGI/FastCGI , you should create the “.user.ini” file. The file should contain:
max_input_vars = 2000 suhosin.post.max_vars = 2000 suhosin.request.max_vars = 2000