PhP 5.2.17 未检测到 MSSQL 2000
我目前在 Windows Server 2008 R2 上使用 IIS7.5...我已经将其设置为运行 PhP(5.2.17 和 5.3),并且在某些时候我也有 MySQL 5.5...
现在的情况是,我已经更改了后端数据库并更改了 PhP 代码以与 MSSQL 2000 (RTM) 一起使用,问题是,IIS 可以建立到数据库服务器内的特定数据库的连接字符串,但 PhP 不想看到 MSSQL 服务器。 PhPinfo 报告中没有提及它...
我已经完成了基础知识,取消了 PhP.ini 中所需的注释,配置了 IIS 来处理 PhP 等。
但是我无法让 PhP 与 MSSQL 2000 一起工作我...有什么想法吗?
I'm currently using IIS7.5 on Windows Server 2008 R2... I've got it setup to run PhP (5.2.17 AND 5.3), and at some point I had MySQL 5.5 too...
Now the thing is, I've changed the backend DB and altered the PhP codes to work with MSSQL 2000 (RTM), the problem is, IIS can establish a connection string to a particular DB inside the DB Server, but PhP doesn't wanna see the MSSQL server. There's no mention of it in the PhPinfo report...
I've done the basics, uncomment the required in PhP.ini, configured IIS to process PhP, etc.
But I can't get PhP to work with MSSQL 2000 for the love of me... Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
PHP.ini 文件中有一小段代码需要取消注释...我因错误配置文件而犯了一个错误...当我确实花了一些时间重新格式化并重新安装所有内容时,我意识到我已经忘记了取消注释允许 PHP 查看 MSSQL 驱动程序的行...
There's a small bit of code that needs to be uncommented in the PHP.ini file... I made a mistake by misconfiguring the file... When I did take the sweet time to reformat and reinstall everything, I realized that I had forgotten to uncomment the line which allows PHP to see the MSSQL driver...