
php用sqlsrv连接sqlserver,报错,怎样解决?
报错如下:连接失败Array([0]=>Array([0]=>IMSSP[SQLSTATE]=>IMSSP[1]=>-49[code]=>-49[2]=>Thisexte...
报错如下:连接失败Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -49 [code] => -49 [2] => This extension requires either the Microsoft SQL Server 2008 Native Client (SP1 or later) or the Microsoft SQL Server 2008 R2 Native Client ODBC Driver to communicate with SQL Server. Neither of those ODBC Drivers are currently installed. Access the following URL to download the Microso
展开
2个回答
推荐于2017-08-28 · 知道合伙人软件行家
关注

展开全部
根据php官方手册,对于sqlsrv这个扩展的需求是这样说明的:
需求
The SQLSRV extension can be used on the following operating systems:
Windows Vista Service Pack 2 or later
Windows Server 2008 Service Pack 2 or later
Windows Server 2008 R2
Windows 7
也就是说,sqlsrv这个扩展仅被用于windows平台,并且其版本要是windows Vista以上的版本才能正确运行。
需求
The SQLSRV extension can be used on the following operating systems:
Windows Vista Service Pack 2 or later
Windows Server 2008 Service Pack 2 or later
Windows Server 2008 R2
Windows 7
也就是说,sqlsrv这个扩展仅被用于windows平台,并且其版本要是windows Vista以上的版本才能正确运行。
追问
我用xp不行,用win7也不行!
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2017-08-28
展开全部
php用sqlsrv连接sqlserver,报错,怎样解决?
需求
The SQLSRV extension can be used on the following operating systems:
Windows Vista Service Pack 2 or later
Windows Server 2008 Service Pack 2 or later
Windows Server 2008 R2
Windows 7
也就是说,sqlsrv这个扩展仅被用于windows平台,并且其版本要是windows Vista以上的版本才能正确运行。
需求
The SQLSRV extension can be used on the following operating systems:
Windows Vista Service Pack 2 or later
Windows Server 2008 Service Pack 2 or later
Windows Server 2008 R2
Windows 7
也就是说,sqlsrv这个扩展仅被用于windows平台,并且其版本要是windows Vista以上的版本才能正确运行。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |