Nick Damoulakis
A brief bio
- A few handy links
- Instructions on how to install Wikka under WinXP SP1, IIS6, MYSQL 4.1 and PHP5.
- Wikka addons I use
- My Wikka user-actions
- My pages
A few handy links
- How to create a secure PHP login. (http://www.devshed.com/c/a/PHP/Creating-a-Secure-PHP-Login-Script/)
- How others have installed PHP, MySQL, Apache etc (http://www.ricocheting.com/server/)
- Easiest way to install an Apache distribution containing MySQL, PHP and Perl. (http://www.apachefriends.org/en/xampp.html)
(Feedback/corrections are most welcome!!!)
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:
- WinXP Prof SP1
- Advanced Networking pack for Windoze XP
- dotNOT framework 1.1
- dotNUT framework SDK 1.1
- VMWare Tools
- VNC free edition 4.1
Main installation steps
1) Install MYSQL
- Download MYSQL v4.x from
(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)
- Run the installer, click Next, leave the selection on Typical, click Next, Install. The installer will now go through its paces.
- When done, click on Skip Sign-up, Next, make sure the Configure the MYSQL server checkbox is checked, click Finish.
- The Config Wizard starts up. Click Next, Detailed Configuration, click Next, Server Machine, click Next, Multifunctional DB, click Next.
- InnoDB Tablespace settings: set to suit, click Next. Decision Support, click Next, check Enable TCP/IP Networking, click Next.
- Best Support for Multilinguism, click Next.
- Install as Windows Service, click Next
- Specify root password, click Next, Execute
- Click Finish.
- 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,
3) Install and config PHP
- Download PHP 5.0.5 from http://www.php.net/get/php-5.0.5-Win32.zip/from/a/mirror
- Unzip the above file into (in my case) C:\php5 (See note under Things I Tripped Over below)
- go into C:\php5 and copy PHP.INI-RECOMMENDED to PHP.INI
- Open that INI file and change as follows:
- Find extension_dir = "./" and change it to extension_dir = "./ext"
- Find ;extension=php_mbstring.dll and remove the leading ';'
- Find ;extension=php_mysql.dll and remove the leading ';'
- Find ;session.save_path = "/tmp" and change it to session.save_path =C:\php5\sessions. Note leading ';' was removed!
- Make sure that the security settings of C:\php5\sessions provide for read/write access to the users of the web server.
- Create directory C:\php5\sessions. Bad things will happen if it doesn't!
- Find session.gc_maxlifetime = 1440 and change it to session.gc_maxlifetime = 43200.
I admit total ignorance on why this is done. Just followed instructions!
4) Config IIS6
- 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)
- Right-click on Default Web Site, Properties
- 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
- Click Ok. 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.
- 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. Click Ok.
- You are now in Default Web Site Properties.
- Click Ok. You are now back at the CMA.
- 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'
- IIS will restart and 'start up' PHP5. This step will fail if any of the key settings in the PHP.INI file are wrong.
- If it doesn't fail it means that PHP5 and the MYSQL plugin are working ok.
5) Install and config Wikka
- Create dir C:\Inetpub\wwwroot\Wikka
- Extract the Wikka files (from Wikka-1.1.6.0.tar.gz) into that dir, so that Wikka.php is in C:\Inetpub\wwwroot\Wikka
- 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.
- Right-click on it, Properties. You should now be looking at the Directory tab. Under Application Settings, click on the Create button. Click Ok.
- You should now be back at the main CMA screen.
- Fire up your favourite browser and point it to http://localhost/wikka. If what you see is the Wikka installation form, all is well.
- If what you see is
<?php header("Location: wikka.php"); exit; ?>
then, it would seem, the PHP ISAPI filter isn't working. Please re-check your settings.
(incomplete)
6) Install and config PHPMyAdmin
(incomplete)
Wikka addons I use
- User group management, as shown in http://wikka.jsnx.com/GroupManagement
- User management, as shown an http://wikka.jsnx.com/UserAdmin
- Page Admin management, as shown an http://wikka.jsnx.com/PageAdminAction
- Anchors, as shown in http://wikka.jsnx.com/AnchorAction
- Bread-crumb trail, as shown in http://wikka.jsnx.com/WikiBreadcrumb
- Sidenote actions, as shown in http://wikka.jsnx.com/SidenoteActions
- Skin action. Note that some of the reasons skins might not work (ie you specify a new skin but nothing happens) are:
- The PHP sessions_path has not been set
- The dir pointed to by the PHP sessions_path has security settings that do not allow the web servers users to 'modify' the contents of that dir.
- Scheduler
- Blogger (probably replaced by WordPress - if I can figure out how to integrate the two)
(incomplete)
Things I tripped over
- While working with the VMWare image, I needed on occasion, to access files from the host that were located on the VM image (ie need to access files located on another PC).
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.
Llook for 'Network Access: Sharing and Security Model for local accounts' and change its value from 'Guest only' to 'Classic'.
Voila!
- Initially, I had installed PHP in C:\program files\php5, only to find that things would not work,
It turns out that the space in Program files is the cause. This is why I chose to install PHP in C:\PHP5
Pages that link to this page
AnchorActionCreditsPage
RyeBread
SuggestionBox
SuggestionsBoard
UserMap
WikkaReleaseNotes
You're not logged in, thus the list of your pages could not be retrieved.'
Category: CategoryUsers, CategoryTroubleshooting