Increasing POST_MAX VARS via cPanel (Linux Shared accounts only)

NOTE: This article applies only to our Linux Shared accounts!

If you are getting an error message similar to:

You are approaching the post variable limit imposed by your server configuration. Exceeding this limit may automatically delete menu items when you save. Please increase your suhosin\_post\_maxvars directive in php.ini. More information You are approaching the post variable limit imposed by your server configuration. Exceeding this limit may automatically delete menu items when you save. Please increase your suhosin\_request\_maxvars directive in php.ini. More information You are approaching the post variable limit imposed by your server configuration. Exceeding this limit may automatically delete menu items when you save. Please increase your max\_input\_vars directive in php.ini. More information max\_input\_vars 1000 suhosin.post.max\_vars 1000 suhosin.request.max\_vars 1138.

You need to increase your suhosin\_post\_max\_vars and/or your max\_input\_vars, both can be achieved via the Cpanel:

  1. Login to your cPanel account, and scroll down to Software section, click on the Select PHP version icon.

  1. Once inside the tool, the first screen displays the current PHP version, which by default is listed as native (which is usually the most current/most popular PHP version).

In order for you to be able to select different PHP configuration options and PHP extensions, you need to select PHP version different than the default native version.

  1. Once the desired PHP version is selected you will have to click on the Switch To PHP Settings as shown on the screen below.

  1. Edit the value for suhosin\_post\_max\_vars and/or your max\_input\_vars to the desired number from the drop-down menu and click Apply.

  1. Once you are done selecting your PHP configuration options, simply click on the button Save at the bottom of the screen.