How can I install pdo_sqlsrv on my windows 2008 Server 2008 R2? [closed]

亡梦爱人 提交于 2019-11-29 17:11:36
Mike

I have replaced the

extension=php_sqlsrv_53_nts.dll
extension=php_pdo_sqlsrv_53_nts.dll

With

extension=php_pdo_sqlsrv_53_nts_vc9.dll 
extension=php_sqlsrv_53_nts_vc9.dll

Insted on using SQLSRV30.EXE I used the SQLSRV20.EXE This worked.

@FreshPrinceOfSo Thanks for your help :)

Thanks :)

My personal installation for Windows Server 2008 R2 and configuration with PHP/SQL Server.

  1. Download the latest stable .zip release of VC9 x86 Non Thread Safe from PHP Downloads
  2. Extract into your PHP directory
  3. Download Microsoft Drivers 3.0 for PHP for SQL Server
  4. Extract into your PHP directory\ext
  5. Write the following extensions to php.ini

    [PHP_SQLSRV_54_NTS]

    extension=php_sqlsrv_54_nts.dll

    [PHP_PDO_SQLSRV_54_NTS]

    extension=php_pdo_sqlsrv_54_nts.dll

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!