Upgrading WordPress

March 15th, 2008 Blog 0 Comments

I just upgraded this wordpress installation from 2.2 to 2.3.3.

From the upgrade link it would fail with no response i could use to debug. Tailing the log file i got this:

PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 286360 bytes)

…as well as some sql query dumps just before it.

The solution was to increase the memory limit for the upgrade script itself so i added the following to wp-admin/includes/upgrade.php

ini_set("memory_limit","12M");.

It worked!

Hello world!
Fresh CSS templates

About Takis Diakoumis

I am a software developer from Melbourne, Australia. I promote and support open source software and release whatever I can of my own work under the GPL license.

» has written 30 posts

No Comments


 

Categories