# Max\_input\_vars increase

**URL:** <https://community.localwp.com/t/max-input-vars-increase/1110>\
**Category:** Uncategorized\
**Created:** [March 27, 2017, 10:06am UTC](https://community.localwp.com/t/max-input-vars-increase/1110 "2017-03-27T10:06:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![clamant](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@clamant](https://community.localwp.com/u/clamant)\
**Post date:** [March 27, 2017, 10:06am UTC](https://community.localwp.com/t/max-input-vars-increase/1110/1 "2017-03-27T10:06:52Z")

</div>

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](http://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!

---

<div class="post-metadata">

**Author:** ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)\
**Post date:** [March 27, 2017, 2:22pm UTC](https://community.localwp.com/t/max-input-vars-increase/1110/2 "2017-03-27T14:22:30Z")

</div>

Hi Christian,

Glad to hear it’s helped!

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

---

<div class="post-metadata">

**Author:** ![clamant](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@clamant](https://community.localwp.com/u/clamant)\
**Post date:** [March 27, 2017, 9:14pm UTC](https://community.localwp.com/t/max-input-vars-increase/1110/3 "2017-03-27T21:14:28Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)\
**Post date:** [March 28, 2017, 5:04pm UTC](https://community.localwp.com/t/max-input-vars-increase/1110/4 "2017-03-28T17:04:22Z")

</div>

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](https://codex.wordpress.org/Debugging_in_WordPress)

---

<div class="post-metadata">

**Author:** ![crrobin4](https://avatars.discourse-cdn.com/v4/letter/c/47e85d/32.png) [@crrobin4](https://community.localwp.com/u/crrobin4)\
**Post date:** [April 27, 2017, 2:44am UTC](https://community.localwp.com/t/max-input-vars-increase/1110/5 "2017-04-27T02:44:10Z")

</div>

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

![](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/1X/7b217008a5c6a585438f86713f347a063e3b5740.png)

And viola everything was sorted! Thank you both!
