I am trying to use Microsoft SQL Server drivers with PHP 7.1 Not Thread Safe x64 on a 64-bit Windows 2012 R2 server.
No matter what I do, I get an error when starting php from admin command line
Warning: starting PHP: it is not possible to load the dynamic library 'ext \ php_pdo_sqlsrv_7_nts.dll' - the specified procedure could not be found.
In addition, it displays pop-ups that indicate
The entry point of the call_user_function system cannot be in the dynamic link library C: \ PHP7 \ ext \ php_pdo_dqlsrv7_nts_x64.dll
I checked that php.ini points to a file that exists, because if I rename the .dll file, the error messages will change to "the specified module cannot be found" instead of the specified procedure.
I installed the Microsoft Visual C ++ 15 x64 environment as required by PHP 7.
I installed the Microsoft ODBC 13 driver as required by the Microsoft SQL Server driver.
I rebooted the server twice.
There is nothing that I could even try. Microsoft WinCache.dll loads and works fine in PHP, as verified by phpinfo.
source share