PHP Fatal error:Allowed memory size of 8388608 bytes exhausted

15 March, 2008 (17:58) | Blogging

Okay.
Today is officially not a good blogging day for me.
See that topic up there.
That is precisely the error that I got and spent almost 2 hours scouring the Wordpress support for any solution.
It makes my Visual Editor danced a cuckoo dance on me.
The toolbar menu was all gone.
And I was left with the non-functioning Visual page.
I’m not too keen on writing using the Code mode since I’m too lazy to do all those tagging and marking.

Well, you get what I mean.

The good thing is I did find the solution.
But it caused me my dear precious time and not to mention my patience.
If you unfortunately have this error, maybe you can try this.

The solution:
You need to do a bit of modification on your .htaccess file.
Don’t know where it’s located?
No worries.

Go to your root/public_html/ folder and there it is.

Add the following statement in your .htaccess file and then save the file.

php_value memory_limit 32M

Tadaaaaa…
Problem solved.
And you got back your sanity.

Good luck.

Write a comment