I'm having trouble getting PHP to use Microsoft's
sqlsrv extension on 64bit Windows server 2012 R2 running IIS and PHP 7.1.7. When I run
phpinfo() I don't see that the extension has been loaded. I'm assuming I should be looking for
sqlsrv as the the extension name. There is also no error in the PHP error log of any sort of failure loading the extension.
I downloaded version 4.3 of the Microsoft's drivers which state they are compatible with PHP 7.1. I have copied the dll files into the
PHP\v7.1\ext directory. I added the following lines to the php.ini file.
I have verified that my php.ini file is being read by intentionally misspelling one of the dll names and seeing a corresponding error in the php log.
SQL Server Native Client 10 and 11 is installed.
I have recycled the application pool, restarted the W3SVC service, and restarted the server.
I'm hoping someone here can offer some other things to try.