关于wampserver的php连接sqlserver2008 R2
网上说用wampserver连接sqlserver2008R2之前要设置php.ini将extension=php_mssql.dll前的;去掉,php_mssql.dl...
网上说用wampserver连接sqlserver2008 R2之前要设置php.ini将extension=php_mssql.dll前的;去掉,php_mssql.dll这个文件我有,但是为什么我一去掉;页面就报错:
500 Internal Server Error
(Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator at
admin@example.com to inform them of the time this error occurred,
and the actions you performed just before this error.
More information about this error may be available
in the server error log.)
以下是Apache的错误提示:
[Sun Jan 12 21:42:39.131019 2014] [:warn] [pid 7100:tid 1192] (OS 109)管道已结束。 : [client 127.0.0.1:62650] mod_fcgid: get overlap result error[Sun Jan 12 21:42:39.131019 2014] [core:error] [pid 7100:tid 1192] [client 127.0.0.1:62650] End of script output before headers: index.php
如果能解决再加分,请留下详细设置说明,谢谢! 展开
500 Internal Server Error
(Internal Server Error
The server encountered an internal error or
misconfiguration and was unable to complete
your request.
Please contact the server administrator at
admin@example.com to inform them of the time this error occurred,
and the actions you performed just before this error.
More information about this error may be available
in the server error log.)
以下是Apache的错误提示:
[Sun Jan 12 21:42:39.131019 2014] [:warn] [pid 7100:tid 1192] (OS 109)管道已结束。 : [client 127.0.0.1:62650] mod_fcgid: get overlap result error[Sun Jan 12 21:42:39.131019 2014] [core:error] [pid 7100:tid 1192] [client 127.0.0.1:62650] End of script output before headers: index.php
如果能解决再加分,请留下详细设置说明,谢谢! 展开
3个回答
展开全部
在此 想告诉你一个东西。因为微软不爽PHP写的扩展。现在5.3以后php已不能直接用php_mssql.dll 这东西连接sqlserver了。要你要到微软下载相应的扩展(microsoft sqlserver drivers for php),放到ext包里。详细不说,
具体参照百度一下
具体参照百度一下
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
为什么不用wamp自动的mysql
追问
因为用的数据库是sqlserver 2008 R2啊,上述问题有办法解决吗?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |