How to Increase Max Input Vars

Updated on September 16, 2021

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.


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


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


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.


Recommended Hosting Solutions

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

Kinsta WordPress Hosting
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.

1Contact 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.

2Duplication 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.

3Open a ticket in our Help Desk.

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

Did this answer your question?