• Welcome to Web Hosting Community Forum for Webmasters - Web hosting Forum.
 

Recommended Providers

Fully Managed WordPress Hosting
lc_banner_leadgen_3
Fully Managed WordPress Hosting

WordPress Theme

Divi WordPress Theme
WPZOOM

Forum Membership

Forum Membership

Fatal error: Allowed memory size of 33554432 bytes exhausted in http.php

Started by Wordpress, September 03, 2009, 09:46:22 AM

Wordpress

I am getting following error message in Wordpress while trying to upgrade automatically via my dashboard:

Get this error when i try to use automatic upgrade via my dashboard:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2355395 bytes) in /home/users/public_html/wp-includes/http.php on line 1327

Am I doing wrong?

Wordpress

Kailash

You are getting this error because your blog exceeds allowed PHP memory. There are some work around to increase the value for PHP memory:

[1] You can contact your host to raise limit for php_memory.

[2] You can add following line in your .htaccess:

php_value memory_limit 64M


This will not work if suPHP is enabled on your server. If suPHP is enabled on your server then you will need to put php.ini in the root of your domain and modify the following line:

memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)

[3] You can also raise PHP memory from wp-config.php file. Just add the following line after

define('WP_MEMORY_LIMIT', '64M');


If the problem still persists, you can contact your host for further assistance.

Regards,

Kailash