Xampp install SQL Server Driver on MaxOS

X
  1. Download php_sqlsrv driver to php version https://github.com/Microsoft/msphpsql/releases/tag/v5.6.0
  2. Example php 7.1 Extract file Copy php_pdo_sqlsrv_71_nts.so and php_sqlsrv_71_nts.so to
    /Application/XAMPP/xamppfiles/lib/php/extensions/no-debug-xxxx/
  3. Open php.ini (xamppfiles/etc/php.ini) insert extension
    extension=php_pdo_sqlsrv_71_nts.so
    extension=php_sqlsrv_71_nts.so

  4. Restart apache web server
  5. Check phpinfo