Looking to increase PHP max input vars in WordPress? There are different methods you can use to configure this on your server.
2 answers
1
Use php.ini to increase max input vars
You can increase your WordPress website’s PHP max input vars through your server’s php.ini file, using the steps below:
- FTP into your server’s root WordPress installation folder.
- Create a php.ini file here.
- Copy and paste the code below into this file.
- Save and re-upload accordingly.
max_input_vars = 5000;
— Support WizardAnswer 1
0
Use htaccess file to increase max input vars
If your server doesn’t allow the creation of a php.ini file, you can inrease this in your htaccess file instead by following the steps below:
- FTP into your server’s root WordPress installation folder.
- Find and open the .htaccess file.
- Copy and paste the code below into the end of this file.
- Save and re-upload accordingly.
php_value max_input_vars 5000
— Support WizardAnswer 2