未找到 PHP 扩展
PHP 不断失败并告诉我由于某种原因它找不到 /ext/php_mssql.dll。 显然,我检查了该文件夹,它就在那里。 我不知道为什么它失败了。 有什么建议么?
编辑:
我将 ntwdblib.dll 放入我的 php 目录中,并且给出的错误来自“错误网关。指定的 cgi 应用程序因未返回完整的 http 标头集而行为不当。它返回的标头是“php 无法启动:无法加载/ext/php_mssql.dll”,根本不返回任何标头。
HTTP 错误 502.2 - 网关错误 指定的 CGI 应用程序行为不当 通过不返回完整的集合 HTTP 标头。 它所做的标题 返回值为“”。
PHP keeps failing and telling me that its not finding the /ext/php_mssql.dll for some reason. Obviously, I checked the folder and it is very much there. I'm not sure why it is failing. Any suggestions?
EDIT:
I put the ntwdblib.dll into my php directory and the error that was giving went from "bad gateway. the specified cgi application misbehaved by not returning a complete set of http headers. the headers it did return are "php failed to start: could not load /ext/php_mssql.dll" to not returning any headers at all.
HTTP Error 502.2 - Bad Gateway The
specified CGI application misbehaved
by not returning a complete set of
HTTP headers. The headers it did
return are "".
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
当我遇到这种情况时,通常是由于以下两个原因之一:
When I get this situation, it's usually because of one of two reasons:
可能值得检查一下 c:\windows\system32 或 PHP 目录中是否有 ntwdblib.dll - SQL Server 中应该有一个。 我还发现与 PHP 捆绑在一起的有时不起作用。
It might be worth checking that you have ntwdblib.dll in c:\windows\system32 or in your PHP directory - there should be one that comes with SQL Server. I also found the one sometimes bundled with PHP did not work.