How to increase max_input_vars

To increase the max_input_vars required by a script if the system value is insufficient, the following directive can be placed in a .htaccess file under the public_html of the account (to apply to all sites under an account) or into a subdirectory for a single site that requires the higher value:

php_value max_input_vars nnnn

where nnnn is an integer denoting the high limit of the value. For instance

php_value max_input_vars 3000

will set the max_input_vars to 3000 as the upper limit.
  • 0 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Articoli Correlati

PHP script error: FATAL ERROR: register_globals is disabled in php.ini, please enable it!

<b>Symptom: </b>The following error appears on a site running a php-based...

HOW TO: Combat referer spam/block certain referers

Symptom: A client wishes to deny access to their site (or parts of it) when the traffic is...

Expression Engine installation generates "variable references" error

Symptom: Expression Engine installations older than version 1.3.1 generate an "Only variable...

My phpBB forum installation is not accessible

Symptom: Client cannot access phpBB forum installation. Permissions on the forum installation...

Enabling register_globals

Symptom: A client's script requires that register_globals be enabled.Resolution: Globals are not...