Upgrading Mediawiki July 23, 2006
Posted by Andy Roberts in : Wiki , trackbackSince upgrading to mediawiki 1.6.7 I started getting problems when updating large pages, or ones with RSS rendering on them. They returned a blank page, sometimes after saving, sometimes without.
In the end I tracked this down to the php memory limit.
The method for upgrading the database which I was following, was as follows:
*backup everything
*unpack the new softaware over the old
*remove localsettings.php
*run the install script and input the parameters as though for a fresh install
*restore the old localsettings.php
The problem with this is that you don’t benefit from improvements
which have been put into teh new localsettings.php in the config dir.
eg uncommenting
# If PHP’s memory limit is very low, some operations may fail.
ini_set( ‘memory_limit’, ‘20M’ );
So I think a better method of upgrade is to use the new localsettings
file, and copy in any user modifications from the old one.
There’s also the problem with permissions settings on the images
directory but that’s just tedious to reset.
Also, mediawiki 1.7 requires php5 which my host doesn’t seem to be providing, so I suppose I’ll be sticking with 1.6.* for a while yet.
Technorati Tags: wiki, mediawiki, upgrade, php5
is an online professional who initiated DARnet 

No comments yet.