php error: Allowed memory size of x bytes exhausted Print

  • 0

If you are getting an error "Allowed memory size of... in file /directory/folder/yourscript.php", then you can use an .htaccess trick to resolve this problem. If this error won't disappear even after you apply this .htaccess code, you should contact us and we will help you.
Insert this code in your .htaccess file of your main domain and if the error persists after you have added the code, put the file in a directory where you are receiving this error, e.g. example.com/directory/folder/.htaccess 
RLimitMem max


Was this answer helpful?

« Back