From DreamHost
Jump to: navigation, search

< MediaWiki This is for MediaWiki 1.16+, which no longer require an AdminSettings.php.


Current versions of MediaWiki require PHP 5.3. MediaWiki 1.19 may still use PHP 5.2, however, it is not recommended! If you've been running PHP 4 on your domain or PHP 5.2 (yikes!), switch to PHP 5.3 or PHP 5.4 by going to the Manage Domains page of and clicking on the Edit button under the Web Hosting column for your domain.

  1. If you haven't done so yet, upgrade MediaWiki using the Goodies > One-Click Installs.
  2. In order to refresh/update your your database tables, you will need to run two update scripts. Here's what you need to do:
    • Login through the shell and cd to your MediaWiki directory
    • In all cases, you will need to update the database tables. Type the following commands into your shell:
      • cd maintenance/
      • /usr/local/php54/bin/php update.php --quick ("Deleting old default messages" may take 5-10 minutes, depending on the size of your database)

And you're in business.