How to Increase Max Input Vars

Last Updated on

When you see Maximum Input Vars notification in the Jupiter Control Panel, it means you need to increase Max Input Vars in your host to be able to use the maximum potential of our theme.

Depending on your hosting configurations, there are different methods that can be applied to increase Max Input Vars. In this article we have listed the most common scenarios.

x
Note: The minimum required value for Max Input Vars is 1000.

In this article


What is Max Input Vars?

It limits the number of input variables, this limitation affects $_GET, $_POST and $_COOKIE superglobal separately. In our theme, it can affect menus.


Increasing Max Input Vars in .htaccess File

It’s possible to increase it from .htaccess file in root WordPress installation’s directory. For this you need connect to your server via FTP (using some FTP client like FileZilla), find .htaccess file in the root of your site directory (or create it yourself if it’s missing) and add below lines of codes at the end of the .htaccess file:

php_value max_input_vars 1000
php_value suhosin.get.max_vars 1000
php_value suhosin.post.max_vars 1000
php_value suhosin.request.max_vars 1000

x
Note: If you don’t know where to find FTP login details, you need ask your hosting provider support for them.

Increasing Max Input Vars in php.ini File

For this scenario you should also connect via FTP or log in to the CPanel of your hosting provider.

At the end of the php.ini file, add below lines of codes. The php.ini file can be found in /user/local/bin/, /etc/php5/ or … depending on the host provider. If you can not find it, it’s better contact your hosting provider. On some hosting providers, you can create a php.ini file in the root directory and just add the following codes to override the default values.

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

x
Note: Sometimes creating php.ini file in the root of your site isn’t enough. You need also copy it to wp-admin folder.

Increasing Max Input Vars using PHP5.x.x version

Most of the shared hosting companies like GoDaddy and Bluehost are still using PHP5.X.X version and PHP5 requires php5.ini and .user.ini files. If you’re dealing with PHP5 server, please also create php5.ini and .user.ini files in the root directory. These files should contain the codes mentioned above.

You might also need to copy those 3 files (php.ini, php5.ini, .user.ini) to wp-admin directory in order to make the changes applied.


The following hosting services offer maximum compatibility with Jupiter and provide exclusive discounts to Artbees Themes users:

InMotion > Up to 50% Discount
WPEngine > 20% Discount
DigitalOcean > $10 Discount
MediaTemple > 2 Months free on Annual Plan


Troubleshooting steps

If the applied changes are not affecting and the notification in Jupiter Control Panel is still appearing, please follow below steps.

1
Contact Host Provider.

If you can not find the php.ini or .htaccess file or the applied changes are not working as expected, it is best to contact the hosting provider. They’re the first people that can help you further about this issue.

2
Duplication of php.ini file.

It is possible another php.ini file exists in your host’s directories (for example, inside wp-includes directory) which affects the above values. Check your host directories.

3
Open a ticket in our Help Desk.

If none of the above steps helped, please open a ticket in our help desk.

Was this helpful?
Previous Article:
Next Article:

Can't find what you're looking for?

Open New Ticket