Upgrading WordPress
March 15, 2008, 01:00
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!