Increasing the WordPress Memory Limit

Increasing the WordPress Memory Limit

Some servers (shared hosting plans usually) have a very low limit to PHP by default which can cause a blank screen (white screen of death) or an error on your site. Luckily increasing the memory limit to PHP is very simple and can be done with a small tweak in your wp-config.php file.

Have a look below at how to increase your memory limit or read the documentation on the WordPress CODEX.

Increasing the Memory Limit

Open your wp-config.php file via FTP and add the following code right before it says "That’s all, stop editing! Happy blogging":

define( 'WP_MEMORY_LIMIT', '128M' );

You can alter the 128MB to the value you want, but 128MB should work pretty well for most live sites.


    • Related Articles

    • WordPress Login Screen

      A theme also provides an amazing option for styling your default WordPress login screen you can find the option inside: Dashboard >> Appearance >> Customize >> WordPress Login Screen. Custom Logo: Select custom logo to replace default WordPress logo. ...
    • WordPress Login Screen

      A theme also provides an amazing option for styling your default WordPress login screen you can find the option inside: Dashboard >> Appearance >> Customize >> WordPress Login Screen. Custom Logo: Select custom logo to replace default WordPress logo. ...
    • WordPress Login Screen

      A theme also provides an amazing option for styling your default WordPress login screen you can find the option inside: Dashboard >> Appearance >> Customize >> WordPress Login Screen. Custom Logo: Select custom logo to replace default WordPress logo. ...
    • Theme Installation Errors

      The Reign theme should install without any errors, although on some occasions people to encounter errors so here are the most common errors and the solutions: Are you sure you want to do this? This error typically happens for one of two reasons: Your ...
    • Theme installation

      You can install the theme automatically or manually. It's better to install Reign on a fresh WordPress installation. Manual Installation Extract the zipped package downloaded from Wbcom Designs to your desktop. In the extracted package you will find ...