Unfortunately M$ doesnot support native clients for Windows 2003 server with MS-SQL server 2008. Means you cannot install Native Client drivers coz its answer, this operating system does not supported blablabla. There we need an unofficial driver for php.
PHP can connect to MS-SQL but cant do anything, thats why the lootconfig is not loading and you getting sco error in supervisor server log. For fix this follow this little tutorial.
1., check your php version
create a file name test.php and insert this to inside:
put this file this to wwwroot if IIE or htdocs if Abyss and open up with your favorite browser, like
http://localhost/test.php
lets check on the top PHP Version X.X.XX (mine is 5.3.24)
and the
extension_dir (mine is: C:\Program Files\PHP\ext)
if 5.3.24 download this zip ->
php5.3.zip
unpack to anywhere, example: C:\
at end you get a php5.3 directory in C drive
now go to this directory and copy both file
Code:
php_pdo_sqlsrv_30_53_nts_vc9x86.dll
php_sqlsrv_30_53_nts_vc9x86.dll
to your php extension dir (mine is C:\Program Files\PHP\ext)
Go to your PHP installed directory (mine is C:\Program Files\PHP\), open php.ini and insert those lines at the end:
Code:
extension=php_sqlsrv_30_53_nts_vc9x86.dll
extension=php_pdo_sqlsrv_30_53_nts_vc9x86.dll
restart your webserver, open your favorite browser and open
http://localhost/WarZ/api/php/api_Ge...5-EB135E16F5EF
(if you changed the backend folder then change in address too)
and you should get
means php finaly can communicate with M$-SQL
those steps can be done with PHP 5.4 too, for it you need other files
this one ->
php5.4.zip
method is same
driver source:
phpdriversrc.zip
Credits to Rob for driver ->
Rob's Area for PHP on Windows
Credtis to DNC for community rlz
Credits to Vusion for original warz source
Credits to else whos working hard on it
edit: virustotal links for dll files
php5.3
https://www.virustotal.com/hu/file/0...is/1369134590/
php5.4
https://www.virustotal.com/hu/file/8...is/1369134718/
source
https://www.virustotal.com/hu/file/2...is/1369134772/