在 apache 2.2 中加载 FastCGI 模块时出错
我正在使用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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我想应该是
Apache的模块结构一般都叫foo_module,对应的库叫mod_foo.so。 可能有一个原因,但我不知道它是什么:-)
I think it should be
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 :-)