Manual:Running MediaWiki on GNU/Linux

<-MediaWiki User's Guide: MediaWiki User's Guide: Installation

Ok, I'm trying to install. This is a short log right now.


 * System:
 * Suse Linux 8.1
 * KDE
 * Apache is set to find it's files on /srv/www/htdocs


 * MySQL 3.23.52

I just dowloaded the newest MediaWiki version 1.1.0 and unzipped it to file:/srv/www/htdocs/wikipedia_source/mediawiki-1.1.0

Configuration of Apache Web server
LoadModule php4_module /usr/lib/apache/libphp4.so
 * If you have PHP installed with Yast, you should find a line
 * within file /etc/httpd/suse_loadmodule.conf

The httpd.conf for apache (it should be located at "/etc/httpd/httpd.conf") does not need to be modified. There should be some lines there defining the file postfixes for php4 as: AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php .phtml AddType application/x-httpd-php-source .phps

Configuraztion of PHP
Modify /etc/php.ini so that register_globals = On

Note: this might lead to security breach, be sure you are indeed authorized making this change !
 * Note for WikiMedia programmers: Please fix it...

LocalSettings.php
$IP = "/srv/www/htdocs/wiki"; $wgServer          = "http://localhost"; $wgLanguageCode = "de";
 * Copy LocalSettings.sample to LocalSettings.php
 * Modify $IP to indicate where to install the software. In my case
 * Other modifications
 * Localization (example uses German language code de)

AdminSettings.php

 * Copy AdminSettings.sample to AdminSettings.php

Installing
run php install.php

This created the database and installed the software. I get a nice sunflowered webpage on http://localhost/wiki/wiki.phtml. However, klicking anywhere just get's me back to this mainpage. Damn...


 * This is usually caused by register_globals being off. Check that the php.ini you edited is in the correct location, and try stopping and restarting apache. --Brion VIBBER 21:18, 8 Dec 2003 (UTC)