mssql_connect未在MS Windows w / IIS上定义 [英] mssql_connect not defined on MS Windows w/ IIS

查看:63
本文介绍了mssql_connect未在MS Windows w / IIS上定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好


我通过php连接到我的MSSQL时遇到问题。


我有一个微软Windows Server 2003,带有php5的网页版安装和Microsoft SQL Server:SQL Server 2005 Express Edition作为我的平台。


我的连接字符串如下:

Hello

I have problems connecting to my MSSQL through php.

I have a microsoft windows server 2003, web edition with php5 installed and Microsoft SQL Server: SQL Server 2005 Express Edition as my platform.

my connection string is as follows:

展开 | 选择 | Wrap | 行号

推荐答案

你在使用WAMP进行php安装,某些IIS安装还是在apache web服务器上


这里是我一直用的东西

what php install are you using WAMP, some IIS install or is it on an apache web server

here is what i always use

展开 < span class =codeDivider> | 选择 | Wrap | Line数字


我不使用apache服务器。我使用内置的IIS版本6.在php中我安装时选择了IIS ISAPI模块。


我尝试了你的代码建议,但它是一样的。
I do not use apache server. I use the built in IIS version 6. In php i selected IIS ISAPI module when installing.

I tried your code suggestion, but it was the same.


您是否在更改为php.ini后尝试启动IIS服务?


您是否从IIS收到任何错误消息?


php加载正确的.ini文件吗?
Did you try starting the IIS service after making the changed to php.ini?

Have you gotten any error messages from IIS?

Is php loading the proper .ini file?


这篇关于mssql_connect未在MS Windows w / IIS上定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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