Whenever I wanted to edit the Pages of this blog, often times this kind of error messages comes up:
Fatal error: Allowed memory size of 88080384 bytes exhausted (tried to allocate 262144 bytes) in /home/wordpress/public_html/wp-includes/post.php on line 3075
I ask my host to solve this problem. It’s ok for a moment. After a few days, however, this error message comes up again at the same place i.e. whenever I wanted to open / edit PAGES.
Curious, I try to find out what’s the problem. And after some search, I find this answer and solution from wordpress forum:
It’s likely not a problem with your database, but rather a need for more PHP memory. Methods for increasing the amount of memory a PHP script may consume:
1. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 16M try 32M:
memory_limit = 32M ; Maximum amount of memory a script may consume (32MB)2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 32M3. Try adding this line to your wp-config.php file:
Increasing memory allocated to PHP
define(‘WP_MEMORY_LIMIT’, ’32M’);4. Talk to your host.
If you’re confused with point 1, 2 and 3, just do step no. 4: Talk to Your Host.
A similar answer can also be found in this thread:
I host with MediaTemple, so they let me change my own PHP.INI file. Some hosts don’t, and will limit your memory limit allowed for php calls. If you can edit your php.ini, add this.
memory_limit 32M
Then, add this to your .htaccess file.
php_value memory_limit 32M
This fixed that error for me.
Again, if you’re confused, just contact your host.
Belum pernah menemukan error serupa, buat catatan bila sewaktu-waktu menemui kasus yang sama. Mudah-mudahan sich ngak
Actually, I haven’t those problems yet. But, I’ll keep it as a useful information, if someday I got this problem, I’ll use it. Thank.
kayanya saya belum pernah nemuin yang kaya gitu om, mudah-mudahan jangan sampe deh.o ya mending saya save dulu ajah tuh cara mengatasinya.makasih om
mudah2n saya tidak akan mengalami hal demikian, thnks …
Hello!
Very Interesting post! Thank you for such interesting resource!
PS: Sorry for my bad english, I’v just started to learn this language
See you!
Your, Raiul Baztepo
[...] ????????????????????????php.ini,wp-config.php??.htaccess???php.ini????????wp-config.php??????? [...]