免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2644 | 回复: 4
打印 上一主题 下一主题

[Web] 自编译安装的apache2不能执行CGI程序,帮我看看 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-06-07 10:30 |只看该作者 |倒序浏览
这是配置apahce2参数
CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -msse2 -mmmx -mfpmath=sse -funroll-loops -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer" ./configure --prefix=/usr/local/apache2 --enable-module=so --enable-mods-shared=all

--- 以下是apache2.2.3的错误日志

[Thu Jun 07 10:11:50 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Thu Jun 07 10:11:50 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Thu Jun 07 10:11:50 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Thu Jun 07 10:11:50 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Thu Jun 07 10:11:50 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Thu Jun 07 10:11:50 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Thu Jun 07 10:11:50 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise
[Thu Jun 07 10:11:50 2007] [crit] (70023)This function has not been implemented on this platform: DBD: driver for [DBDriver unset] not available
[Thu Jun 07 10:11:50 2007] [crit] (70023)This function has not been implemented on this platform: DBD: failed to initialise

论坛徽章:
0
2 [报告]
发表于 2007-06-07 10:32 |只看该作者
访问CGI程序时候出现

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, 123@asscn.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



再刷新一下网页就变空白了,什么都没有,然后看到以上错误日志

CGI文件权限这些都是有的755

论坛徽章:
0
3 [报告]
发表于 2007-06-10 10:24 |只看该作者
日志中说你的db数据库没有安装或者无法加载,而无法实现初始化,你可以偿试先解决此问题后看一看运行结果!

论坛徽章:
0
4 [报告]
发表于 2007-06-12 13:10 |只看该作者
非常感谢帮我回答,
老大能帮我哩个头绪吗,具体我不知道该怎么下手,我是个新手,对这些不怎么了解

论坛徽章:
0
5 [报告]
发表于 2007-06-13 08:44 |只看该作者
问题找到,DBD模块是支持SQL数据库所用, ./configure --prefix=/usr/local/apache2 --enable-module=so --enable-mods-shared=all
这里忘记了--enable-cgi指令
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP