WordPress problem: Fatal error: Allowed memory size of 8388608 bytes exhausted
/*--- holy mAcar00ns!! --- */
Everything looks great on your WordPress blog until after you log in and then you get that big 'ol error message "Allowed memory size of 8388608 bytes exhausted" instead of your WordPress dashboard.
Well it's easy to fix.
This is what I found from this guys page:
1. Try looking for php.ini file on the root of your site. Mine was located in public_html folder.
Open up php.ini file with any text editor and change the values for memory_limit. By default you should see memory_limit = 8M. Try changing it to 12M. If it doesn’t work, increase it to 16M or even 24M if 16M doesn’t work.
2. If you can’t find the php.ini file, open up the PHP file that requires more memory, and add a line below just after ini_set(’memory_limit’, ‘12M’);
Same thing. Memory can be increased but do try it with 12M first.
3. Final way is to look for .htaccess in your root, and add a line that looks like below.
php_value memory_limit 12M
If you're using Media Temple, that sucky web hosting service, the php.ini file is at:
All I did was add this to the end of the php.ini file:
memory_limit = 12M
And all is well and happy again.
all your bases ar--
ping moi pleeez
About this entry
You’re reading “
- 1:02 AM
pacman is coming
e belong to us!