Max_input_vars increase

Hi,
I installed a theme (Jupiter) that asking me to increase the max_input_vars value.
So I paste it in php.ini and php5.ni files in the php 5.6.20 folder this values:
max_input_vars = 4000
suhosin.get.max_vars = 4000
suhosin.post.max_vars = 4000
suhosin.request.max_vars = 4000

But without success, I still got this message:
Maximum Input Vars: 1000, max_input_vars should be at least 4000.

Thanks for help.

By the way congratulations for your software,
it’s changed my life, really!

1 Like

Hi Christian,

Glad to hear it’s helped!

Did you try restarting the site after updating the PHP config?

1 Like

Hi,
yes it’s ok now with this alert.
But I’m still unable to install the templates theme.
I got a 500 error instead…

Can you please check the logs directory? There may be a clue in the PHP error logs.

You can also try enabling WP_DEBUG in wp-config.php to get more verbose error logging. See https://codex.wordpress.org/Debugging_in_WordPress

Thank you for mentioning restarting the local host. I had this same issue and had been scouring for hours trying to sort this out for a theme I just purchased.

If anyone else has this same issue with max_input_vars = 1000 and needing to increase I combined adding the following values, (in my case I needed a min of 3000):

max_input_vars = 3000
suhosin.get.max_vars = 3000
suhosin.post.max_vars = 3000
suhosin.request.max_vars = 3000

in the following php.ini files: 5.3.29, 5.6.20, 7.0.3 (see screen shot) after saving each file in my code editor (I used text wrangler) I went back to Local by FlyWheel > Help > Restart Local Machine

And viola everything was sorted! Thank you both!

1 Like