Fatal error: Allowed memory size exhausted

Asked by:
lilly / 5 Points
Time:
2011-12-13 1:44 am EST
Category:
Website Troubleshooting
Hits:
1,342
why do I get this error:
"Allowed memory size of 262144 bytes exhausted..."
if PHP config says 512M of memory?

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by Web Hosting Hub staff

0

ChristiNi
Staff
13,688 Points
2011-12-13 9:21 am EST
Hello lilly,

I'm sorry you're having trouble installing software for your site. I'm happy to help you resolve this as quickly as possible.

While researching this for you, I found that your php.ini file does have the memory_limit set to 512M, but it needs to be made recursive through your .htaccess file. Please un-comment the following line in your .htaccess file in your public_html directory (replacing username with your actual username):

suPHP_ConfigPath /home/username/public_html

For more information on working with your php.ini file to control your local PHP settings, please see the following articles:

- How do I Update my Local PHP Settings?

- How Do I Make My php.ini File Recursive?

Please let us know if you have any additional questions or need further assistance.

Regards,

Christi N.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.