This method is only applicable in case you have direct access to your php.ini file or if you are running your WordPress on localhost. Note 2: Many shared hosting providers restrict you from accessing the php.ini file. Note 1: If you have created your own php.ini file, then you need to add to the file the code line below: – Change the 40 or any number you find there to your desired limit (e.g. – Find the line of: max_input_vars = 1000 Open your php.ini file then edit it using your favorite editor as follows:.
How To Increase The PHP Max Input Vars? Method 1 – Change The PHP Max Input Vars Using The (php.ini) File This is especially useful when you are installing a big demo for a theme with lots of menu entries. If your menu items are not saving successfully or the last entries are being truncated or left off, then increasing this value will be a recommended action. Increasing the PHP Max Input Vars helps in solving some issues related to your menus. Why Do I Need To Increase My PHP Max Input Vars? The default value of the PHP Max Input Vars is 1000. The PHP Max Input Vars is the maximum number of variables your server can use for a single function to avoid overloads.
However, if you need to install a fully functional demo of a premium theme or you have a large list of custom plugins that require installation, then increasing your memory limit would be a wise action to take.īasically, when you start encountering the “ Fatal Error: Memory Size Exhausted“, it would be the right time for you to make such changes. This limit might be enough for small websites with a limited number of plugins and visitors. The default memory limit for WordPress is 32MB. Why Do I Need To Increase My WP Memory Limit? Generally speaking, the bigger and more complex your website is, the more memory it needs. The notable ones are your WordPress itself, the theme that you are using, and the list of active plugins. There are several factors that contribute to the consumption of your memory. When your site reaches the allocated memory limit, you will encounter a fatal error. The WordPress Memory Limit is the maximum amount of memory (RAM) that your website can use at one time.