Check you are running your wiki under PHP5 from the DreamHost control panel using
(Domains > Manage Domains > Edit) you are mostly likely using PHP5 anyway.
To run the update files.
You need to access your shell using PuTTY or similar SSH program.
Navigate to where you installed your wiki from the one-click page.
Now type ls -lsa to see the files and towards the top is the file to edit called AdminSettings.sample (note the case is important).
To edit type:-
nano -w AdminSettings.sample
Use your cursor delete keys to replace the entries for your Mediawiki’s MySQL database:-
$wgDBadminuser = ‘wikiadmin’;
$wgDBadminpassword = ‘adminpass’;
$wgDBadminuser = ‘sydney’;
$wgDBadminpassword = ‘secretpasswordhere’;
Just change the text and be careful not to delete the ’ characters.
Now press control-o (o the lowercase letter)
and enter the filename where prompted as AdminSettings.php
(You are creating a file called AdminSettings.php so check the case is the same)
Now press control-x (the lowercase x) to exit the editor.
That is the first part done.
Now to run the two scripts type
Type ls -als to list the files.
Check you can see the file update.php to make sure you are in the right place.
You now need to run the update files but have to give the full path for PHP to run them.
So type in:-
and press enter.
For the second file (may not be needed but can be run)
and press enter.
That is the update done. Now you can delete that AdminSettings.php file you created for extra security.
So type cd … to get back to the main folder. Type ls -lsa to check you are in the right place. You should see AdminSettings.php now.
Delete the file with rm AdminSettings.php
The original AdminSettings.sample remains for next time.
Exit the shell with exit and that is it done as per the wiki entry.
Opinions are my own views, not DreamHosts’.
I am NOT a DreamHost employee OK!! :@
You act on my advice at your own risk!