Error - Fatal error: Allowed memory size of 67108864 bytes exhausted

This error occurs when PHP requires more memory to execute a process than it is currently allocated.The above error tells that it requires more memory but currently having only around 64 MB of memory allocated.

To solve this issue you have to increase your PHP Memory Limit (memory_limit) in your php.ini file. If you dont know where is your php.ini file, you can look at this post
Then look for the word memory_limit, default memory limit is 64 MB. Now you can increase it to either 128 MB or bigger number like 512 MB.

memory_limit = 128M  ;

You can also use :


in your PHP script for example in index.php to increase the memory limit.