FIX: fatal error allowed memory size of x bytes exhausted (tried to allocate x bytes)

This article was written by in May 24, 2015, & may not be posted on other sites!
Original source url for this article: FIX: fatal error allowed memory size of x bytes exhausted (tried to allocate x bytes)

Getting an error similar to
fatal error allowed memory size of x bytes exhausted (tried to allocate x bytes)
when trying to update WordPress or work on your website? There are many ways to increase the memory byte size on your server, but that is not needed to fix this fatal error problem. This is how to fix:
fatal error allowed memory size of x bytes exhausted (tried to allocate x bytes):

Fatal error allowed memory size of x bytes exhausted (tried to allocate x bytes)

 

How to fix
fatal error allowed memory size of x bytes exhausted (tried to allocate x bytes)

If you are getting this fatal error memory size problem when trying to update wordpress or work on your website? This is how to fix it in 3 minutes. No need to increase any memory byte size on your server:

  1. Open your PHP.ini file, if you don’t have one, create a new one using any text editor program.
  2. inside the PHP.ini file, add the following code:
    <? phpinfo(); ?>
    memory_limit = 128M
  3. Save the file, and upload it to your wp-admin folder.
  4. Reload your webpage, it should work fine now!

 

Spread the word

Facebooktwittergoogle_pluslinkedinmail

Leave a Reply

Your email address will not be published. Required fields are marked *