Xampp MS SQL server PHP 5.6

前端 未结 4 1218
执念已碎
执念已碎 2020-12-09 22:25

I have a xampp running with PHP 5.6. Normally I use mysql server, but for a script that already exists i need a MS SQL server.

I searched on the net and installed SQ

4条回答
  •  温柔的废话
    2020-12-09 23:01

    At this time: My solution was:

    1- Download ver 3.2 of the SQLSRV drivers from here. https://www.microsoft.com/download/details.aspx?id=20098

    2 Extract the files to your "xampp" folder into the \php\ext

    3- Add this lines to php.ini

    extension=php_pdo_sqlsrv_56_ts.dll

    extension=php_pdo_sqlsrv_56_nts.dll

    extension=php_sqlsrv_56_ts.dll

    extension=php_sqlsrv_56_nts.dll

提交回复
热议问题