Installation summary

After the long journey, I hereby summarize achievement with the following listed everything I have installed to run Mediawiki. Important points are commonly those path mistakes as well as comment out issues found in configuration file as is always the case with installation.

Server Environment:

  • Internet Information Services (IIS)
    Windows Server 2003 Standard Editioon Version 5.2
Softwares:

PHP Installation:

  1. Download php-5.2.3-Win32.zip and extract zip archive
  2. Rename directory with PHP, and move it under C drive
    • php-5.2.3-Win32 -> PHP (change of directory name)
    • C:¥PHP (move directory)
  3. Move php.ini-dist
    • C:¥PHP¥php.ini-dist => C:¥WINDOWS¥php.ini
      (change file name and move to WINDOWS directory)
    • Also to work with MySQL subsequently, ensure the php_mysql.dll and php_mysqli.dll dlls were in the ext folder of PHP, open your php.ini file to remove the following comments(semicolon):
      ;extension=php_mysql.dll
      ;extension=php_mysqli.dll
    • Change the extension_dir parameter to point to "c:\php\ext"
    • To enable email sending to registered users(from mediawiki), you go to PHP.ini, and alter the line "SMTP = localhost" to actual SMTP server name you are using.
  4. To register php5isapi.dll to IIS, you first open IIS Manager and click Web Service Extensions then go on to click Add a new Web service extension
  5. On the New Web Service Extention, key in "PHP" in extention name field then click "Add"
  6. Subsequently, Key in the path of php5isapi.dll then click "ok"
    • C:¥PHP¥php5isapi.dll
  7. Tick the checkbox Set extension status to Allowed
  8. Go to left panel of "Web sites", right click properties on a web service you are going on.
  9. Press Home Directory tab and press Configuration, and then press "Add" on Add/Edit Application Extension Mapping window
  10. Set everything up as follows:
    • Executable: C:\PHP\php5isapi.dll
    • Extension: .php
    • Script engine: check
  11. After everything is done, restart IIS server with iisreset command on the prompt

MySQL Installation:
Install MySQL to the default directory using the default options:

  1. Download MySQL Server 5.0 and just follow the installer
  2. Select “Detailed Configuration”
  3. Choose “Developer Machine”
  4. Choose “MultiFunctional Database”
  5. Select path for Data, this configuration used the default location.
  6. Choose “Decision Support (DSS)/OLAP
  7. Enable TCP/IP Networking on 3306 and Enable Strict Mode
  8. Enable standard character set
  9. Install as a Windows Service and set to launch automatically, check “Include Bin Directory in Windows PATH”
  10. Enter a Root Password
  11. Create the setup
  12. Not to skip InnoDB, find a configuration file my.ini under your MySQL program directory, and just disable the line skip-innodb with hatch "#", otherwise it will disturb your Mediawiki installation.
    Sources said InnoDB is the most popular transactional storage engine for MySQL also known as one of a various table in MySQL enabling functions such as commit, rollback, clash recovery, etc.

Mediawiki Installation:

  1. Download zip package from website and extract
  2. Alter directory name from Mediawiki-1.9.3 to wiki, and move its directory to anywhere you like where PHP is applied
  3. Open web browser and connect to its URL which may be http://localhost/wiki/index.php
  4. With sunflower shown on the browser, you can start installing Mediawiki, then just click the word below flower
  5. Fill up everything followed by, then click the button at bottom.
  6. If you stuck in trouble during installation, please go check again those configuration files of MySQL and PHP
Posted: July 25, 2007 Comments (0)

Install Guides

These two concretely describe about how to install and set Mediawiki in more detail (All written in Japanese)

Posted: Comments (0)