php starup sqlsrv unable to initialize module

前端 未结 2 1719
清酒与你
清酒与你 2021-01-18 14:16

I am trying to connect MSSQL to PHP. i am following this tutorial. Anyway after i added the dll files as described in that tutorial, i get the following warning. How can i s

2条回答
  •  死守一世寂寞
    2021-01-18 14:58

    Looks like you've tried to install the sqlsrv extension for php 5.3 on a php 5.2 system.

    Either run and look for the php version and look for the following entries:

    • PHP Version
    • Thread Safety

    pick the appropriate .dll from the sqlsrv driver: the version number must match and if thread safety is enabled pick the ts version, if not pick the nts version.

提交回复
热议问题