PHP 5.5.0 w/Microsoft SQL Server 2008 R2-没有sqlsrv_connect()吗? [英] PHP 5.5.0 w/ Microsoft SQL Server 2008 R2 - No sqlsrv_connect()?
本文介绍了PHP 5.5.0 w/Microsoft SQL Server 2008 R2-没有sqlsrv_connect()吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我具有以下环境:
- Windows Server 2008 R2
- IIS 7.5
- Microsoft SQL Server 2008 R2
我想使用新的PHP 5.5.0版本,该版本每次运行都很好,但是由于缺少当前驱动程序,我无法连接到MSSQL服务器.
I want to use the new PHP 5.5.0 version, which works just fine per sé, but I can't connect to the MSSQL server due to the lack of current drivers.
对于我以前的PHP 5.4.15版本,我使用了>此处< .
For my previous PHP 5.4.15 version, I used the official Microsoft drivers from >here<.
是否有可能从PHP 5.5.0连接?
Is there yet any possibility to connect from PHP 5.5.0?
推荐答案
使用VC11编译的PHP 5.5,因此驱动程序也必须使用VC11编译.您可以从此处下载PHP SQL Server驱动程序(与VC11一起编译):
PHP 5.5 compiled with VC11, so the driver must be compiled with VC11 too. You can download PHP SQL Server driver (compiled with VC11) from here:
这篇关于PHP 5.5.0 w/Microsoft SQL Server 2008 R2-没有sqlsrv_connect()吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文