Can't access SQL Server using PHP

Category: sql server driverphp

Question

Aravil1 on Sun, 18 Dec 2016 23:18:35


Good Evening,

I installed SQL Server 2016 Enterprise on Windows Server 2012 R2 and PHP using Microsoft WPI. I added the following lines in the php.ini file:

extension=php_sqlsrv_7_ts_x86.dll
extension=php_sqlsrv_7_ts_x64.dll

However, when I check phpinfo(), I can't  see sqlsrv info box.

Replies

Aravil1 on Mon, 19 Dec 2016 00:00:32


it started to work when I added pdo and nts files

Sam Zha on Mon, 19 Dec 2016 05:39:10


Hi Aravil1,

Glad to hear that you've solved this problem. You could help mark it as answer. Your cooperation and support are highly appreciated.