PHP obtains input variables is 1000 by default. However, for many reasons this value needs to be increased depends upon the applications. The max input vars represents the number of variables that the website can use. Depending on the scripts used in the website, this value can be changed. Having a lower value can have an impact on the website’s performance, as well as cause issues with the themes and plugins. In this article, we will show you to increase max_input_vars within cPanel. Follow the below steps.
Login to your cPanel.
Click on “MultiPHP INI Editor”, under SOFTWARE section.
Edit the value of max_input_vars in the text box and click on “Apply” button. Usually, the default value is 1000 you can increase the value.
You can also increase the max_input_vars in the .htaccess file in the cPanel and For that, you need to add the following codes in the .htaccess file.
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
We hope that this will help you to increase the max_input_vars value. For more information, follow us on Twitter and Facebook and For video tutorials, subscribe to our YouTube channel ServerCake India.