如何设置esayPHP, 让他支持cgi-bin呢?

konfyt 2010-08-24 10:43:28
大家好!

因为要调试一个cgi-bin, 是一个php页面程序,

我用的 easyPHP, 集成了几个模块的
但是我的cgi-bin目录总是提示403错误
我怎么修改配置文件都没用

请问还有别的 集成包支持图形界面设置cgi-bin的吗?


先谢谢大家了!
...全文
100 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
WvW 2010-08-27
  • 打赏
  • 举报
回复
额........
konfyt 2010-08-25
  • 打赏
  • 举报
回复
脚本代码肯定没问题, 我上传到我一个虚拟空间, 同样的目录和文件, 在他那里就可以运行




#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
#
ScriptAlias /cgi-bin/ "E:/Inetpub/wwwroot/Soft/cgi-bin/"

</IfModule>

<IfModule cgid_module>
#
# ScriptSock: On threaded servers, designate the path to the UNIX
# socket used to communicate with the CGI daemon of mod_cgid.
#
#Scriptsock logs/cgisock
</IfModule>

#
# "${path}/apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "E:/Inetpub/wwwroot/Soft/cgi-bin/">
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
</Directory>

konfyt 2010-08-25
  • 打赏
  • 举报
回复
我照着这里, 一步一步的该的, 还不行

http://www.4webhelp.net/tutorials/cgi/local.php
konfyt 2010-08-25
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 coolesting 的回复:]
easyPHP只是一集成的安装包,和你要用cgi-bin没什么关系


你要用cgi-bin就配置服务器使它支持cgi-bin, 并安装cgi-bin必要的模块就可以了。
[/Quote]

可是我已经配置了好了cgi-bin, 总是500错误, 要么403错误.

我的是vista, 开了UAC, 但是我已经用管理权权限启动了 apache.

找了好多资料, 一步一步的做, 还是不行. 找不到原因在哪里了.
骄傲青蛙 2010-08-25
  • 打赏
  • 举报
回复
easyPHP只是一集成的安装包,和你要用cgi-bin没什么关系


你要用cgi-bin就配置服务器使它支持cgi-bin, 并安装cgi-bin必要的模块就可以了。
konfyt 2010-08-25
  • 打赏
  • 举报
回复
有人知道吗?
zgycsmb 2010-08-24
  • 打赏
  • 举报
回复
没弄过。

20,359

社区成员

发帖
与我相关
我的任务
社区描述
“超文本预处理器”,是在服务器端执行的脚本语言,尤其适用于Web开发并可嵌入HTML中。PHP语法利用了C、Java和Perl,该语言的主要目标是允许web开发人员快速编写动态网页。
phpphpstorm 技术论坛(原bbs)
社区管理员
  • 开源资源社区
  • phpstory
  • xuzuning
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧