exe file to unzip the driver, after that i copied the needed drivers e.g (php_sqlsrv_72_ts.dll & php_pdo_sqlsrv_72_ts.dll) to the c:\XAMPP\PHP\ext folder then opened the php.ini file and added the following line to the the file:Īfter adding the above to the php.ini file i saved it and restarted my Apache server and that was all, i confirmed by going to phpinfo.php page on the xampp localhost admin page and command + F to find anything relating to sqlsrv. At first i tried it on a windows system using PHP XAMP.Īll i did was to download the drivers from Microsoft Drivers for PHP for SQL Server then unzip the file or run the. You would have noticed it is a lot of a hassle. Have you ever tried communicating with Microsoft SQL serves in PHP? This is a guide on how you can install Microsoft SQL Driver on MAMP server on a MacOS for PHP Installing Microsoft driver on MAMP PHP for MacOS i.e (PDO_SQLSRV & SQLSRV)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |