This is the error that is noted in the error log:
PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\IIS Express\PHP\v5.4\ext\php_sqlsrv_54_ts.dll' - The specified module could not be found.
This is the ini file:
extension_dir = "C:\Program Files (x86)\IIS Express\PHP\v5.4\ext\"
extension=php_sqlsrv_54_ts.dll
The file exits in the directory:
C:\Program Files (x86)\IIS Express\PHP\v5.4\ext\php_sqlsrv_54_ts.dll
phpinfo.php does not show a MSSQL Server section.
So for some reason, the dll is not getting loaded. I have tried both the thread-safe and non-thread-safe. The non-thread-safe does not show the load error, but it still doesn't load (doesn't show in PHP Info, nor lets the code run with the ms_sql functions.