Fatal error: Allowed memory size of

apps

#1

Hello ppl,
saw some posts about this problem and did the “alternate method” on this link http://wiki.dreamhost.com/Custom_PHP.ini , all that is written from that title to the footer…

Also edited php.ini to expand the memory_limit to 128M !

But my problem wasnt solved, what else do i have to do? any1 knows??

My site: http://www.yogodoshi.com/blog

Thanks!!


#2

What is the full error message?

–rlparker


#3

The URL shows this:

Fatal error: Allowed memory size of 262144 bytes exhausted (tried to allocate 77824 bytes) in /home/.pentagram/yogodoshi/yogodoshi.com/blog/wp-includes/default-filters.php on line 112
-Scott


#4

“Doh!” on me! I obviously am not yet “awake” enough to be replying to posts; he did include the url! Thanks, Scott! :s .

That’s weird - “Allowed memory size of 262144 bytes exhausted” - that’s only 256K, and he said he set max_mem to 128M.

It might be worth checking phpinfo() output to see what is actually set (in the event the php.ini got borked somehow).

–rlparker


#5

No, i was using the dreamhost PHP and suddenly happened that error… I tried to solve the problem installing the PHP5 with that tutorial on the link above… and in the new installation i set memory to 128M but i think i didnt “change” my blog to this new PHP… i dont know how to do it…

PHP INFO:
http://www.yogodoshi.com/info.php


#6

I don’t understand why that error would have occurred if everything was working properly with the “standard” DreamHost PHP - 256k is well below the memory_limit of the standard DreamHost PHP (which is set with PHP5 to 90M). That makes me think that something else is wrong. :wink:

Actually, from the phpino() out put you linked, that PHP does have the memory_limit set to 128M, so it looks to me as though you did it correctly.

Did your blog run properly at some point, and if so, when did this error start popping up?

–rlparker


#7

Actually, from the phpino() out put you linked, that PHP does have the memory_limit set to 128M, so it looks to me as though you did it correctly.


But this is the php.ini of the installation that i made, not the one from dreamhost… the question is: "how can i tell my Wordpress to use my php installation instead of dreamhost’s PHP installation?


#8

It’s already using your version.

Something else is wrong. Plug-ins?


#9

If its my version I dont know whats happening if the memory limit is set to 128M =/

And that was the solution for this kind of problem as i read on a lot of blogs…

I dont know if any plugin is causing that error because the error “appeared at a random time”, i didint install a anything before the error appear… the wordpress was functioning normally and then, suddenly, the error appeared!