在 apache 2.2 中加载 FastCGI 模块时出错

发布于 2024-07-18 05:50:33 字数 320 浏览 4 评论 0原文

我正在使用apache 2.2(xampp发行版的一部分)并且我试图使用fastcgi加载用lua编写的脚本,所以我在httpd.conf中添加了这样的内容:

LoadModule mod_fcgimodules/mod_fcgid.so

现在当我尝试启动时apache 我收到以下错误:

/xampp/apache/conf/httpd.conf 第 530 行语法错误:无法在文件 /xampp/apache/modules/mod_fcgid.so 中找到 API 模块结构“mod_fcgi”:没有错误

文件在那里并且路径正确,该错误消息是什么意思?

I'm using apache 2.2 (part of the xampp distribution) and I was trying to load my scripts written in lua using fastcgi, so I added to httpd.conf this:

LoadModule mod_fcgi modules/mod_fcgid.so

and now when I try to start apache I get the following error:

syntax error on line 530 of /xampp/apache/conf/httpd.conf: Can't locate API module structure 'mod_fcgi' in the file /xampp/apache/modules/mod_fcgid.so: No error

The file is there and the path is correct, what does that error message mean?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

眉目亦如画i 2024-07-25 05:50:33

我想应该是

LoadModule fcgid_module modules/mod_fcgid.so

Apache的模块结构一般都叫foo_module,对应的库叫mod_foo.so。 可能有一个原因,但我不知道它是什么:-)

I think it should be

LoadModule fcgid_module modules/mod_fcgid.so

Apache module structures are generally called foo_module, for a library called mod_foo.so. There's probably a reason for that, but I've no idea what it is :-)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文