Basic instructions on how to set up MediaWiki with Informix Dynamic Server Note that Mediawiki 1.15.3 is incompatible with PHP 5.3.1. You must use PHP version 5.3.2 or 5.3.0. Requirements ============ IDS version 11.50 ----------------- You will need to setup your driver to accept connections using the DRDA protocol. If you want to store the Basic Text Search index in sbspaces instead of external files, you will need fixpack 3 or higher. IBM Data Server Driver ---------------------- The data server driver is the common driver for IBM data servers such as Inofmrix and DB2. This was tested using version 9.5 fixpack 5. It can be downloaded at: http://www-01.ibm.com/support/docview.wss?uid=swg24025865&rs=0&cs=utf-8&context=SSEPGG&dc=D400&loc=en_US&lang=en&cc=US You can find the documentation at: http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.ibm.swg.im.dbclient.install.doc/doc/t0054799.html PDO_IBM ------- This is the PHP Data Object driver for IBM Data servers. Mediawiki was tested with PDO_IBM version 1.3.1. You can find the PDO_IBM driver at: http://pecl.php.net/package/PDO_IBM/ Data Server Driver installation =============================== These steps are based on the linux 32-bit product. Similar steps are required for any other version. Download DS driver. see (version 9.5 fixpack 5): http://www-01.ibm.com/support/docview.wss?uid=swg24025865&rs=0&cs=utf-8&context=SSEPGG&dc=D400&loc=en_US&lang=en&cc=US uncompress the resulting file: # cd $INFORMIXDIR # tar xzvf v9.5fp5_linuxia32_dsdriver.tar.gz # cd dsdriver Install the ODBC/CLI driver --------------------------- Stay in the dsdriver directory # tar xzvf odbc_cli_driver/linuxa32/ibm_data_server_driver_for_odbc_cli.tar.Z This creates the clidriver directory. Set the DB2DIR environment variable to this directory: # export DB2DIR=$INFORMIXDIR/dsdriver/clidriver The default configuration file is: $DB2DIR/cfg/db2cli.ini You can remove the odbc_cli_driver directory. Installing the PHP driver ========================= Extract and install the driver: # tar xzvf PDO_IBM-1.3.1.tgz # cd PDO_IBM-1.3.1 # phpize ... # ./configure ... # make ... # make install Modify php.ini find where they mention extensions and add: extension="pdo_ibm.so" Database for Mediawiki ====================== Mediawiki requires a database where it stores the wiki pages and other information. Before installing Mediawiki, create a logged database with a default sbspace. The dbspace is used to store the pages in large objects (CLOB). Once the database is created, register the Basic Text Search Datablade: $ blademgr !EOF Before installation =================== You will need to make a small change to the tables.sql file located at: /maintenance/ids/tables.sql You need to identify where the BTS indexes will be stored. Look at lines 338 nd 339. You need to either create an external space or use an sbspace. Installation ============ You must install mediawiki as it comes from their site. See: http://www.mediawiki.org Untar the file into your document directory with the following command: # tar zxvf mediawiki-1.15.3.tar.gz Install the Informix modification: # cd mediawiki-1.15.3 # unzip IDSMediawiki1.15.3.zip # cd .. Adjust the permissions with something like: # chmod -R 777 mediawiki-1.15.3 Rename the directory to the pathname you want: # mv mediawiki-1.15.3 mywiki After setting up your web environment properly (with PHP and PDO_IBM), you can start installing through a Web browser: http:////config/index.php For example: http://localhost/mywiki/config/index.php Follow the instructions and you should be able to complete the installation in a few minutes. the skins directory contains images that can identify your site as "powered by Informix". To use it, change the configuration file generated in the installation (LocalSettings.php) and add the following line at the end of it: $wgLogo = '//skins/common/images/poweredby_informix.png'; for example: $wgLogo = '/idswiki/skins/common/images/poweredby_informix.png';