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://robsphp.blogspot.in/2012/06/unofficial-microsoft-sql-server-driver.html
2) https://www.microsoft.com/en-us/download/details.aspx?id=20098
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.