How to connect php 5.4.4 with microsoft sql server 2008 R2 in windows Xp? i have installed xampp 1.8.0 with apache2.4 and php 5.4.4 embedded in it. i have installed microsoft sql server 2008 R2. i have download and configure php_sqlsrv_54_ts.dll and php_pdo_sqlsrv_54_ts.dll. but when i execute sqlsrv_connect($serverName, $connection) it says,"This extension requires the Microsoft SQL Server 2012 Native Client.". the problem is Microsoft SQL Server 2012 Native Client is not compatible with Windows Xp. Any suggestion for my problem?
migrated from stackoverflow.com Apr 10 '13 at 10:51
This question came from our site for professional and enthusiast programmers.
Are you using version 2.0 or version 3.0 of php_sqlsrv_53_nts.dll?
Have you got quotes around your extension dir? e.g.:
For driver version 3.0 you need:
For further assistance, You may have a look Here