Home >Backend Development >PHP Tutorial >php连接sql2008r2不成功

php连接sql2008r2不成功

WBOY
WBOYOriginal
2016-06-23 14:13:491120browse

xu版主,拜托帮忙了,php5.3.8和5.2.6都试验过了,引用了扩展php_sqlsrv_53\52_vc9\6,可就是折腾不来啊,系统win2003的,安装sql2008 r2,自带sql server 2008 native client 10.0,不知道卡在那里了,phpinfo()显示支持sqlsrv扩展了,连同pdo_sqlsrv都支持,就是执行不了命令,貌似连接数据库都有问题。。。。。


回复讨论(解决方案)

楼主可以是否尝试使用pdo呀。

谢谢楼上,根据系统日志和php错误提示,解决了

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn