im sure your answer is found in the countless other threads that address this and are searchable:
http://wordpress.org/search/Fatal+error%3A+Allowed+memory+size+of?forums=1
Thread Starter
timc-1
(@timc-1)
I don’t seem to have access to php.ini and when I edit .htaccess by adding php_value memory_limit 32M
it results in any page returning with an Internal Server Error. I guess I need to contact my host?
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 32M
3. Talk to your host.
What effect does putting this code in the php do? And where would I want to put it? I understand this changes php.ini when you can’t/don’t have access to it?
ini_set(‘memory_limit’,’24M’)
I am having more-or-less the same issue. The last time I talked to my host about this they were sort of helpful. HOWEVER, can somebody please verify with me once and for all where the .htaccess file and php.ini file should reside?? Meaning, if for example my wp installation resides at public_html/blog on my host. I am so damn frustrated, I have put the files everywhere as my host says that they allow my to edit the php.ini. But still, I can’t even get a fresh installation of wp going, so I know it is not a plugin issue.
You may need a php.ini file in the public_html directory, you will need one in the blog directory, and you will also need one in every other directory that needs the increased memory setting. The .htaccess file should be in your public_html, but may be in your blog directory. It is a hidden file so you won’t see it unless you choose to view hidden files.