Okay
  Print

Recommended Server Settings - Memory issues

There are hundreds of thousands of web hosts out there, not all of them are fit for a WordPress installation. There are a few (well-known) low budget host providers that you can experience multiple issues when you use a premium, high quality theme (demo import issues, images upload etc). As you can easily understand this is out the scope of our support and something that you need to sort out with your host provider.  So make sure you have covered the basics: WordPress Minimum Requirements

Recommended PHP and MySQL versions:

  • PHP 5.4 or greater
  • MySQL 5.5 or greater
  • The mod_rewrite Apache module

Themes and Plugins often require more memory than the server default values. In some server installations some php variables are very low and not recommended for WordPress installations with premium Themes or/and multiple Plugins.

Recommended php variable values:

    memory_limit = 256M
    post_max_size = 128M
    upload_max_filesize = 32M
    max_input_vars = 2000
  • memory_limit ( This sets the maximum amount of memory in bytes that a script is allowed to allocate)
  • post_max_size ( Sets max size of post data allowed. This setting also affects file upload. )
  • upload_max_filesize ( The maximum size of an uploaded file. e.g: Theme, Plugin, Media File )
  • max_input_vars ( Increase to 2000 to enable large menus with many menu items e.g > 80 )

Note: If you have already a larger number or if you don't have any issues, you don't need to modify them.

Keep in mind that some values must be larger than others: memory_limit > post_max_size > upload_max_filesize

These values can be changed with the following methods:

  • inform your hosting provider to do it for you
  • from you hosting panel
  • php.ini ( FTP access required )
  • .htaccess ( FTP access required )