How to configure XAMPP to use with MSSQL?

前端 未结 2 1931
孤街浪徒
孤街浪徒 2020-12-11 04:57

I\'m trying configure XAMPP to use with MSSQL. I\'m following this: Example but I still had success.

I copied the files: php_pdo_sqlsrv_54_ts.dll and

2条回答
  •  無奈伤痛
    2020-12-11 05:35

    For PHP5.6 vou need download SQLSRV32.EXE, after it put the php_pdo_sqlsrv_56_ts.dll and php_sqlsrv_56_ts.dll on ext folder and finally register those extension on php.ini, like this:

    extension=php_sqlsrv_56_ts.dll
    extension=php_pdo_sqlsrv_56_ts.dll
    

    Restart apache and try phpinfo()or you could use getAvailableDrivers()

    ";
       print_r(PDO::getAvailableDrivers());
    

提交回复
热议问题