Upgrading WordPress

Common problem while upgrading WordPress, lately when I click on automatic upgrade, I’m having problems with memory allocation, this upgrade (2.8.5), the same problem that I had on last versions of WordPress. I had to download the diff file and patch it, now here the solution:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2354671 bytes) in ../public_html/wordpress/wp-includes/http.php on line 1331

How to fix the upgrade problem of WordPress, first, you have to open your FTP client on the folder the blog is and open wp-config.php and add this under MySQL setting sections and you add this.

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

Click on upgrade and the problem got fixed! Good luck!

This entry was posted in linux and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>