Accredited Registrar Accredited Registrar

Frequently Asked Question

FAQ / Linux Shared Hosting


How to increase max input vars value in .htaccess File?

PHP gets the input variables from the HTML forms and cookies. By default, it limits the number of input variables. This limit affects your $_GET, $_POST and $_COOKIE. You can fix this by increasing the max_input_vars directive in .htaccess file.

The below steps will guide you to increase the max_input_vars value in .htaccess file.

Step 1: Connect to your server via FTP.

Step 2: Locate .htaccess file in the root of your site directory.

Step 3: Add the below line of code at the end of the .htaccess file.

php_value max_input_vars 6000

How this faq is helpful:

Not at all
helpful
Not much
helpful
Some what
helpful
Very
helpful
Extremely
helpful

What could be better? (Optional)
X
  Not related to my issue
  Too complicated explanations
  Too much information
  Incorrect information
  Unclear information
  Incomplete information
  Too old information
Do you have any other feedback about this faq ?
1000