InstallMediaWiki

From LaurasWiki

I can't upgrade to this wiki to the latest MediaWiki (1.7.1) b/c it requires PHP 5, which my web host here doesn't have (apparently, PHP 5's not in the current Debian release (Debian GNU/Linux)). So, instead I'm installing it over TextDrive....

MediaWiki Help on installing

  • MetaWiki Help:Installation (http://meta.wikimedia.org/wiki/Help:Installation)
  • Download from SVN (http://www.mediawiki.org/wiki/Download_from_SVN)
    • Confusing: They're listing SVN:1_7_1 as the latest stable, but the instructions give you 1_7 -- and that's all I find on the server
    • Not clear on the modules -- it says I need 2 (phase3 extensions) but there's no package for extensions?
      • Note: the extensions folder in the tar file version is empty too, so what the heck
    • Also, FWIW the instructions use "checkout" not "export"

Subversion

Well, I can't resist.

To install MediaWiki in a subdirectory named wiki, I used:

$ svn export http://svn.wikimedia.org/svnroot/mediawiki/branches/REL1_7/phase3 wiki

Note: SVN creates the directory, do not create it first.

Set Up

Accessing the wiki for install through the web:

Checking environment...
Please include all of the lines below when reporting installation problems.
   * PHP 5.1.4 installed
   * Found database drivers for: MySQL PostgreSQL
   * PHP server API is cgi-fcgi; using ugly URLs (index.php?title=Page_Title)
* Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads.
   * Found GD graphics library built-in.
   * Installation directory: /users/home/latrippi/web/public/wiki
   * Script URI path: /wiki
   * Environment checked. You can install MediaWiki.

A little unclear whether I need to create the MySQL DB first or not.

  • Trying not, since that's implied.
    • Gave a new DB and db user name