您好。
我们有Windows Server 2008 R2 Enterprise X64和SQL Server 2005
此外,我们还为该版本安装了php5.4 VC9 x86非线程安全和sqlsrv。
当我们连接到服务器时,我们会收到错误:
Array
(
[0] => Array
(
[0] => IMSSP
[SQLSTATE] => IMSSP
[1] => -49
[code] => -49
[2] => This extension requires the Microsoft SQL Server 2012 Native Client. Access the following URL to download the Microsoft SQL Server 2012 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712
[message] => This extension requires the Microsoft SQL Server 2012 Native Client. Access the following URL to download the Microsoft SQL Server 2012 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712
)
...
正如我们所看到的,需要安装用于x86的Microsoft SQL Server 2012 Native Client ODBC驱动程序,但当我们有系统x-64时,当我们启动安装程序时,我们会收到错误,安装程序x86不适合我的操作系统(用于x64)。
有人知道我们应该为这个棘手的问题做些什么吗?
p.S.:
phpinfo-http://194.58.88.58/test.php
上的链接
链接出现错误http://view-source:http://194.58.88.58/
消息不正确。它不应该引用x86版本。您需要x64版本。
参见:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/df2caeac-f57f-462e-be7c-f51f46deff0e/this-extension-requires-the-microsoft-sql-server-2012-native-client-access-the-following-url-to?forum=sqldriverforphp
链接到本机客户端x-64
下载并安装适用于x86的Microsoft SQL Server 2012 Native Client ODBC驱动程序:http://www.microsoft.com/en-us/download/details.aspx?id=36434