Manual:Simple Windows Apache Installation

This rough but complete installation guide is based on Windows XP SP2.

Download the required software:
Apache 2.0.55 

PHP 4.4.2 

MySql 4.1.16 

Media Wiki 1.5.6 


 * Someone update this please, some of it dont make sense

Install PHP 4.4.2
Unzip php-4.4.2-Win32.zip to c:\php. Ensure that php.ini-dist is in directory c:\php. Copy c:\php\php.ini-dist to c:\php\php.ini. Use Windows Explorer to copy all files in the 'dlls' and 'sapi' subdirectories to c:\php.

Install Apache 2.0.55
Run apache_2.0.55-win32-x86-no_ssl.msi and use default options. This will set Apache2 up as a Windows Service.

Locate C:\Program Files\Apache Group\Apache2\conf\httpd.conf and edit it using Wordpad. Insert the following three lines after the line '### Section 1: Global Environment'

''LoadModule php4_module "c:/php/php4apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/php/"''

Now launch Control Panel/Administrative Tools/Services and restart the Apache2 service.

Create a new file called phptest.php in C:\Program Files\Apache Group\Apache2\htdocs: 

Open your browser and navigate to http://localhost/phptest.php. You should see some php configuration settings.

Install MySQL 4.1.16
Unzip mysql-4.1.16-win32.zip and run the setup.exe program to install MySql using defaults. Enter a password for root and remember it.

Create a Wiki User with old-style password
(For more info on this issue see )

Launch Start Menu\MySQL\MySQL 4.1\Command Line Client. Enter the password you created earlier. Enter the following commands:

''Enter password: ******** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.1.16-nt

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> CREATE DATABASE wikidb; Query OK, 1 row affected (0.01 sec)

mysql> GRANT ALL ON wikidb.* to wikiuser@localhost IDENTIFIED BY 'password'; Query OK, 1 row affected (0.01 sec)

mysql> SET PASSWORD FOR wikiuser@localhost = OLD_PASSWORD('password'); Query OK, 1 row affected (0.01 sec)

mysql> quit; ''

Install Media Wiki 1.5.5
Unzip mediawiki-1.5.5.tar.gz to C:\Program Files\Apache Group\Apache2\htdocs\mediawiki. (Ensure that index.php is directly underneath the mediawiki directory.

Now navigate your browser to: http://localhost/mediawiki/index.php

You should see the Media Wiki 1.5.5 Welcome Screen and the message You'll have to set the wiki up first!

Click on the link and enter a name for your wiki site, a password for the WikiSysop user and the password you entered in MySql for wikiuser. You should not need to enter the root password.

Hopefully you will see the Installation successful! message.

Finally follow the instructions and copy C:\Program Files\Apache Group\Apache2\htdocs\mediawiki\config\LocalSettings.php to C:\Program Files\Apache Group\Apache2\htdocs\mediawiki\LocalSettings.php.

Now click the link http://localhost/mediawiki/index.php/Main_Page and you should see the magic words Wiki software successfully installed..