Windows server: Problem with Instalation Moodle1.9.4+ on WINserver 2003 standard sp2 + PHP 5.2.8 + MSSQL 2005 expess sp2 + IIS 6

Windows server: Problem with Instalation Moodle1.9.4+ on WINserver 2003 standard sp2 + PHP 5.2.8 + MSSQL 2005 expess sp2 + IIS 6

Kristijan Zbiljski -
回帖数:3
I have problems installing Moodle.

My configuration:

Windows 2003 standard SP2
IIS 6
moodle-weekly-19
php-5.2.8-nts-Win32
fcgisetup32.msi
Microsoft SQL Server 2005 express SP2

I followed step-by-step instructions
http://www.moodlewindows.za.net/index.htm

PHP test is working

see atachment

but moodle/index.php

give me error

see atachment

please help!!!
回复Kristijan Zbiljski

Re: Windows server: Problem with Instalation Moodle1.9.4+ on WINserver 2003 standard sp2 + PHP 5.2.8 + MSSQL 2005 expess sp2 + IIS 6

Kristijan Zbiljski -
Me again

problem was in

extension=php_apc.dll


but now

Error: Database connection failed.

It is possible that the database is overloaded or otherwise not running properly.

The site administrator should also check that the database details have been correctly specified in config.php


using

freetds.conf

[global]
host = xxx.xxx.xxx.xxx
port = 1433
client charset = UTF-8
tds version = 7.0
text size = 20971520


回复Kristijan Zbiljski

Re: Windows server: Problem with Instalation Moodle1.9.4+ on WINserver 2003 standard sp2 + PHP 5.2.8 + MSSQL 2005 expess sp2 + IIS 6

Luis de Vasconcelos -
Particularly helpful Moodlers的头像

You are using the non-thread-safe version of php so check that you have the non-thread-safe version of the php_dblib.dll extension. Version 5.2.9.9 NTS is working fine for me. See http://tracker.moodle.org/browse/MDL-14725 for details and to download this version.

Is there a MSSQL section in your PHPInfo() ouput?

回复Luis de Vasconcelos

Re: Windows server: Problem with Instalation Moodle1.9.4+ on WINserver 2003 standard sp2 + PHP 5.2.8 + MSSQL 2005 expess sp2 + IIS 6

Kristijan Zbiljski -
Thanks for replay.

I had wrong version of php_dblib.dll.