I have a large form that updates in Wordpress with a plugin spitting out an error indicating that max_input_vars is set to 1000. The site is on a shared host, and technical support has updated max_input_vars to 2000 in php.ini, I checked this.
I am trying to add the following to .htaccess to find out if this problem helps, but gets a 500 error, possibly bad syntax.
php_value max_input_vars 2000
Do I need to include this line of code in any specific format, am I missing something? Full .htaccess example below.
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress #php_value max_input_vars 2000
Max_input_vars is currently commented out, so it does not cause a 500 error.
Any help would be greatly appreciated.
Greetings
source share