MediaWiki running on OpenVMS

The engine that runs Wikipedia
Post Reply
User avatar
Site Admin
Posts: 175
Joined: Tue Feb 01, 2005 12:53 am
Location: Scotland

MediaWiki running on OpenVMS

#1 Post by issinoho »

Well I finally got MediaWiki installed and running on VMS, but it was a struggle!

Firstly, the recent versions of MediaWiki won't work as the depend on PHP5, which we haven't got yet! So the most recent version is 1.6.10 which at the time of writing was available here

Untar this as normal and create your virtual folder. MediaWiki needs PHP session support so uncomment this in your php.ini (if you haven't done so already) and restart Apache.

Now normally at this stage you would just start the installer but, believe me, it won't work.

The first issue is that relative paths seem a bit broken so to correct this, edit the file /config/index.php and change all the instances of ../maintenance to /wwwroot/wiki/maintenance substituting in your absolute path.

:!: Gotcha! Don't use logical names with dollar ($) signs as PHP interprets these as variable names.

The next problem is that the table building script uses quotation marks when defining ENUM values. I'm not sure if this is a specific issue with the VMS version of MySQL but the interpreter doesn't like these. To fix this, edit the file /maintenance/tables.sql and search for ENUM. Change all quotes in these lines to apostrophes (').

Now, you should be able to start the installer, http://myserver/wiki/config/

Depending on your security settings the installer may not be able to write the config file itself. If so, copy and paste the text it provides into a file called LocalSettings.php and save it to the root of the wiki virtual folder.

That should be it. Roll on PHP5! :D

User avatar
Posts: 1
Joined: Mon Apr 10, 2006 10:01 pm
Location: Raleigh, NC USA

#2 Post by WWWebb »

Hello, Ian.

I've managed to get back on the board; thanks for resetting my password and updating my information.

We're planning to give implementing MediaWiki a shot at work, so some other members of the team may be joining this group.

And no, I won't divulge who they are should I figure it out.

And hello to Willem as well- good seeing you at bootcamp (should I put an "again" in there? Were you at the 2007 one?)


Post Reply