Revision [11912]

This is an old revision of NickDamoulakis made by NickDamoulakis on 2005-11-19 13:34:07.


Nick Damoulakis

This page contains
(Inline comments are more than welcome!!!)

Brief bio

(While the following is true, it is possible that you may not be able to withstand the laughter that may errupt from your mouth. If you are susceptible to uncontrolable laughter when you hear of someone using an 8-bit micro with all of 4096 bytes of RAM, quick! skip over the next paragraph! now! :-)
Same goes if you get bored hearing people blubber on about their past jobs....)

I started working with computers in 1981, with a massively powerfull (cough cough) 6502-based computer with 4KB of RAM. No, it isn't a typo, I do mean 4096 bytes!
I then advanced to a MicroBee, which was an AUS designed and made, 2MHZ Z80-based 8-bit computer with 32KB of CMOS RAM (which meant the RAM contents were kept alive with a tiny battery, even after the computer was switched off).
For mass storage, audio tapes were used. Ah, the good old days of dumping data and program source to a tape at the blistering speed of 300 bits/sec!

I cut my teeth on Z80 assembly programming on this computer and wrote BeeArtistic, a MacPaint-type graphics app for it. This app was sold in the open market.
I did say I wrote it in Z80 assembler, right? Goes to show what a sucker for punishment I was.
(I should also point out that my good friend Paul Dodd did half the work)

Then (in 1983-ish), I designed and built the hardware and software for a 32-bit co-processor (NatSemi 32032) which was hosted on the MicroBee.
And, since I was in the swing of things, I also designed a Z80 co-processor for the IBM XT/AT PCs...why, oh why??!!

I then spent 4 yrs designing the hardware and firmware for the following interfaces
Uhm, they too were done in assembler! Clearly, I was drugged. No sane man would want to do this willingly!

From 1989-ish onwards, I have been designing/developing software using anything from C, Delphi, Basic, Gupta SQLWindows, ViralVisual Basic, Java, C#, SQLServer, Oracle, Firebird, ...blah blah...

So here I am. Having survived all that, I am now punishing myself with PHP! Looking at source code that contains both html and code... At least PHP5 seems to have some more structure; cons/destructors, try/catch, proper dereferencing, object handles rather that copies...

Enough about me, read on about how I installed Wikka!

Wikka Installation Instructions

This page describes how I installed Wikka Wikki, all the things I tripped over and what add-ons I've installed.

Since I didn't keep full notes while doing the real installation (naughty naughty!), I am repeating the entire process, using a clean(ish) VMWare image, containing the following:

Main installation steps

1) Install MYSQL

    1. Download MYSQL v4.x from
    2. (Note above link is for AUS, you may end up with a different one. The important thing is that I am using MYSQL v4 and not v5...yet)
    3. Run the installer, click Next, leave the selection on Typical, click Next, Install. The installer will now go through its paces.
    4. When done, click on Skip Sign-up, Next, make sure the Configure the MYSQL server checkbox is checked, click Finish.
    5. The Config Wizard starts up. Click Next, Detailed Configuration, click Next, Server Machine, click Next, Multifunctional DB, click Next.
    6. InnoDB Tablespace settings: set to suit, click Next. Decision Support, click Next, check Enable TCP/IP Networking, click Next.
    7. Best Support for Multilinguism, click Next.
    8. Install as Windows Service, click Next
    9. Specify root password, click Next, Execute
    10. Click Finish.
    11. Voila, you are the proud owner of a MYSQL database server! :-)

2) Install IIS6

Open Control Panel, Add/Remove Programs, Add/Remove Windoze Components. Choose Internet Information Services (IIS) from list, click on Next.
You will probably be prompted to insert the Win XP CD in the CD drive and point to where the misc files the installer needs are.
In my case, they were in the I386 directory, found on the Win XP CD.
Once the installer has finished, you will find that you now have a new directory, called C:\Inetpub and under that, you will find wwwroot
This is the top dir of all your (future) web apps.

3) Install and config PHP

    1. Download PHP 5.0.5 from
    2. Unzip the above file into (in my case) C:\php5 (See note under Things I Tripped Over below)
    3. go into C:\php5 and copy PHP.INI-RECOMMENDED to PHP.INI
    4. Open that INI file and change as follows:
      1. Find extension_dir = "./" and change it to extension_dir = "./ext"
      2. Find ;extension=php_mbstring.dll and remove the leading ';'
      3. Find ;extension=php_mysql.dll and remove the leading ';'
      4. Find ;session.save_path = "/tmp" and change it to session.save_path =C:\php5\sessions. Note leading ';' was removed!
      5. Create directory C:\php5\sessions. Bad things will happen if it doesn't!
      6. Find session.gc_maxlifetime = 1440 and change it to session.gc_maxlifetime = 43200.
      7. I admit total ignorance on why this is done. Just followed instructions!

4) Config IIS6

    1. Right-click on My Computer on desktop, Manage, Services and Applications, Internet Information Services
    (I'll refer to this as the Computer Management App CMA)
    1. Right-click on Default Web Site, Properties
    2. On the displayed dialog, click on the ISAPI Filters tab, click Add, enter PHP in Filter Name and point to the executable C:\php5\php5isapi.dll
    3. Click Ok.
    4. Click on the Documents tab, click Add, enter INDEX.PHP, press Ok. Using the arrows shown in the dialog, move INDEX.PHP to the top of the list.
    5. Click on the Home Directory tab, click on Configuration, click Add, enter C:\php5\php5isapi.dll in the Executable field, enter '.PHP' in the Extension field, click Ok.
    6. Click Ok. You are now in Default Web Site Properties.
    7. Click Ok. You are now back at the CMA.
    8. Restart IIS (right-click on Internet Information Services, All Taks, Restart IIS, click Ok (assuming the combobox shows 'Restart Internet Services', click on 'End now'
    9. IIS will restart and 'start up' PHP5. This step will fail if any of the key settings in the PHP.INI file are wrong.
    10. If it doesn't fail it means that PHP5 and the MYSQL plugin are working ok.

5) Install and config Wikka

    1. Create dir C:\Inetpub\wwwroot\Wikka
    2. Extract the Wikka files (from Wikka- into that dir, so that Wikka.php is in C:\Inetpub\wwwroot\Wikka
    3. Go to the CMA (see note in Config IIS above), expand Web Sites, expand Default Web Site. You should be able to see your newly-created Wikka dir.
    4. Right-click on it, Properties. You should now be looking at the Directory tab. Under Application Settings, click on the Create button. Click Ok.
    5. You should now be back at the main CMA screen.
    6. Fire up your favourite browser and point it to http://localhost/wikka. If what you see is the Wikka installation form, all is well.
    7. If what you see is
	header("Location: wikka.php");
then, it would seem, the PHP ISAPI filter isn't working. Please re-check your settings.


6) Install and config PHPMyAdmin


Wikka addons I use


Things I tripped over

I tried \\vmpc\somedir\somefile, only to be presented with a Windoze network login dialog, asking me to supply the password for Guest. Note that it did not give me the chance to enter a user id.
This happens because of a Win XP default local security policy.
To make the blasted thing behave as one would want it to, execute the following:
Control Panel, Administrative Tools, Local Security Policy.
Once the Local Security Settings form is up, open Local Policies, Security Options, then look for 'Network Access: Sharing and Security Model for local accounts' and change its value from 'Guest only' to 'Classic'.
It turns out that the space in Program files is the cause. This is why I chose to install PHP in C:\PHP5

User contributed actions

You're not logged in, thus the list of your pages could not be retrieved.'

Category: CategoryUsers
There are 5 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki