MS-SQL和PHP.INI - 如何在IIS7中启用PHP中的mssql支持 [英] MS-SQL and PHP.INI - how to enable mssql support in PHP in IIS7

查看:323
本文介绍了MS-SQL和PHP.INI - 如何在IIS7中启用PHP中的mssql支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我们在Windows IIS7上运行PHP。 php.ini的相关部分向我报告;

Currently, we are running PHP on Windows IIS7. And the relevant section from the php.ini reports this to me;

Configure Command   ....  "--without-mssql" "--without-pdo-mssql" ....

显然,这个PHP缺少mssql支持。

Clearly, this PHP lacks the mssql support.

- without-mssql 短语从配置区域消失,从而支持for mssql是否存在于php编译中?

What does it take for the --without-mssql phrase to disappear from the configure area and thus the support for mssql is present in the php compile?

到目前为止,这就是我们所做的。

So far, this is what we have done.

我们启用了php_mssql.dll作为php扩展。
我们确保ntwdb.dll与php在同一个文件夹中

we enabled the php_mssql.dll as a php extension. we made sure that ntwdb.dll is in the same folder as php

我们的节目停止了这个致命的人!

Our show stops with this fataller!

致命错误:在...中调用未定义的函数mssql_connect()

推荐答案

extension = php_mssql.dll

extension=php_mssql.dll

Php Manuel php.ini配置(安装mssql)文档。

Php Manuel php.ini Config (install mssql) document.

http://php.net /manual/en/mssql.installation.php

这篇关于MS-SQL和PHP.INI - 如何在IIS7中启用PHP中的mssql支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆