I am running php 7.3 on my local machine running windows 10 and it works perfectly with the sqlsrv extension and ODBC Driver 17. I am trying to update php to 7.4 but php will not load the extension. Anyone know why it is not loading?
Error I get:
PHP Warning: PHP Startup: Unable to load dynamic library 'php_sqlsrv_74_nts_x64' (tried: C:\Program Files (x86)\PHP\v7.4\ext\php_sqlsrv_74_nts_x64 (The specified module could not be found.), C:\Program Files (x86)\PHP\v7.4\ext\php_php_sqlsrv_74_nts_x64.dll (The specified module could not be found.)) in Unknown on line 0
extension_dir
key from<?php phpinfo();?>
script execution)? Probably you need to change the extension folder in thephp.ini
configuration or set two paralel PHP installations on this PC. – Zhorovphp_php_sqlsrv_74_nts_x64.dll
is 64-bit version of the extension, whileC:\Program Files (x86)\PHP\..
is probably 32-bit installation. – Zhorov