dimanche 3 mai 2015

Connect remote MS SQL 2005 using PHP 5.5.15 from XAMPP 1.8.3 on Windows 7 32 bit?

I am trying to connect my remote MS SQL 2005 Server from 32 bit Windows 7 using PHP version 5.5.15 on XAMPP 1.8.3.

I did use the drivers from:

1) http://ift.tt/1IBumzI

2) http://ift.tt/1vkS3V4

I added extensions in php.ini

extension=php_sqlsrv_55_ts.dll
extension=php_pdo_sqlsrv_55_ts.dll

And I even tried

extension=php_sqlsrv_55_nts.dll
extension=php_pdo_sqlsrv_55_nts.dll

I restarted both XAMPP and the computer. But I still get this error:

Fatal error: Call to undefined function mssql_connect() in ...

I also tried the sqlsrv_connect function.

I also tried to use the inbuilt extension=php_mssql.dll by uncommenting and restarting XAMPP and the computer. Still no progress.

I also followed this blog. I also followed How to connect to remote MSSQL database using php 5.5.19. No result.

Anyone please help.

Aucun commentaire:

Enregistrer un commentaire