How to W2K InstallVirtualHosting? - Unable to Load Database Driver
I have sucessfully installed TikiWiki 1.8 and it works a dream .
Now I would like to get several sites running on the same server configured with W2K server SP4 / IIS 5 / PHP 434 / MySQL 416. I have configured IIS so that several sites can be access and have checked they work with static html pages.
I checked the InstallVirtualHosting documentation for Linux and read the tiki-db.php instructions. All the PHP code is in c:\php and the Tiki in c:\tiki directories, and extra directories for "sal" etc were created in backups\sal, templates-c\sal and modules\sal etc.
I tried to make a db\local.php file with the settings below but being a newbie to php I am not sure if the changes I have made are correct. When opening the tiki-install.php page I get an error message "unable to load database driver". Someone can probably spot my obvious mistake(s).
Has anyone been able to get multiple TikiWikis on the same windows server working ? Or is there any more documentation for setting the local.php in windows ?
Many thanks
Railton....
db\local.php for 1.8
< ? php
$host_tiki = 'localhost';
$user_tiki = '';
$pass_tiki = '';
$host_map = array(
'sal.co.uk' = array(
'dbs_tiki' => 'SAL',
'tikidomain' => 'sal',
),
'zns.co.uk' = array(
'dbs_tiki' => 'ZNS',
'tikidomain' => 'zns',
),
);
if $HTTP_HOST" class="wiki wikinew text-danger tips isset">$host_map$HTTP_HOST {
extract($host_map$HTTP_HOST);
}
? >