Unable to load MS SQL drivers for PHP in Laragon


  • | 210 points

    I have a recent download of the full version of Laragon installed on my Windows 10 x64 PC, when I load the mssql drivers for php and try to use them I get: Warning: PHP Startup: Unable to load dynamic library 'php_sqlsrv_72_nts_x64'

    I have version 5.6 of the SQL server drivers for PHP downloaded. I made sure I put the above sql server .dll file into the correct extension directory within PHP. I made sure within the php.ini file that the path to the extension directory is correct. I edited the php.ini file to include the above extension. I have the microsoft ODBC driver version 17 installed. I have restarted Laragon, restarted my computer, and still I get the error message above that it cannot load the dynamic library.

    If anyone has any other insights that would help get this working, they would be greatly appreciated.

    Thanks.


Log in to reply
 

Looks like your connection to Laragon was lost, please wait while we try to reconnect.