[Solved] Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 491520 bytes) in

Solution:

Just create the file named php.ini under wp-admin folder and add the below lines,

<? phpinfo(); ?>
memory_limit = 64M

save changes and close the file.

Refresh the page. Hope you will not get the error now.

 

Note:

1. Be sure that you have not added any other lines in any other files.

2. If you still getting the same problem, then try changing the value to 128M.

 

 

Thanks for reading this post……..!!!

 

One comment

  • Musclenerd

    thanks, but it didn’t work by creating the php.ini file and limiting the memory to 64M or 128M,

    instead in wp-config.php, i had to insert a line ini_set(“memory_limit”,”128M”); for the error to go away.

Leave a Reply