Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[疑问] mysql和mssql连接不上

[复制链接]
402301218 发表于 2011-2-16 09:04:25 | 显示全部楼层 |阅读模式
想把dv论坛转为dz的论坛 dz论坛安装成功后 运行转换程序 提示

没有配置好 PHP 与 MS SQL Server 数据库的连接!
如果您对服务器有管理权限,可以参考下面的提示操作。如果您使用的是虚拟主机,请联系空间管理商解决。
如在 win 下运行本程序,需要对 php.ini 进行修改,把 ;extension=php_mssql.dll 前面的分号去掉,保存修改后重启Web服务!(我在文件里面找不到这句话,如实自己加上这句话,然后再PHP安装目录里面的\PHP\ext里面放上php_mssql.dll 这个文件 本身没有在网上D下来的
如在 Linux 下运行本程序,需要给 php 增加 mssql 的支持模块!


按照上面的我修改了 出现如下的错误
FastCGI Error
The FastCGI Handler was unable to process the request.  
--------------------------------------------------------------------------------

Error Details:

The FastCGI process exceeded configured activity timeout  
Error Number: 258 (0x80070102).  
Error Description: μè′yμ?2ù×÷1yê±?£  
HTTP Error 500 - Server Error.
Internet Information Services (IIS)



去掉这句话就可以运行PHP文件


PHPinfo()



PHP Version 5.3.5
Compiler MSVC9 (Visual C++ 2008)   
Architecture x86   
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--disable-zts" "--disable-isapi" "--disable-nsapi" "--without-mssql" "--without-pdo-mssql" "--without-pi3web" "--with-pdo-oci=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8=D:\php-sdk\oracle\instantclient10\sdk,shared" "--with-oci8-11g=D:\php-sdk\oracle\instantclient11\sdk,shared" "--with-enchant=shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet" "--with-mcrypt=static"   

Server API: CGI/FastCGI   
Virtual Directory Support: disabled



希望哪位大哥帮忙解决下!
beijing200808 发表于 2011-2-16 09:28:53 | 显示全部楼层
楼主是在什么操作系统上运行的呢?

仅就错误信息来看,应该是fastcgi.ini配置文件的问题,参考http://www.mycodes.net/74/2355.htm
回复

使用道具 举报

 楼主| 402301218 发表于 2011-2-16 09:51:01 | 显示全部楼层
按照这个配置后 还是不行
运行很长时间都不报错
我的操作系统是window 2003
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-10-2 06:13 , Processed in 0.171089 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表