“孩子以状态 13 退出”当尝试使用 lighttpd 运行 fastcgi 示例时
我编译了fastcgi c-api示例: http://www.fastcgi.com/devkit/examples/ 当我在命令行中手动执行它们时(例如通过键入 ./echo),它们工作得很好,但是当我尝试使其与 lighttpd 一起工作时,我遇到了一些麻烦。
"/echo.fcgi" => (
"localhost" => (
"socket" => "/tmp/echo.sock",
"bin-path" => "/Users/onur/Downloads/fcgi-2.4.0/examples/tiny",
"check-local" => "disable"
),
)
new-host:examples onur$ ls -la echo
-rwxr-xr-x 1 _www _www 3322 Aug 4 21:21 echo
我缺少什么?在 lighttpd 中使用 fastcgi 执行二进制文件有哪些特殊性?
I have compiled fastcgi c-api examples: http://www.fastcgi.com/devkit/examples/
They work fine when I execute them manually in the command line (by typing ./echo for example) but I have some troubles when I try to make it work with lighttpd.
"/echo.fcgi" => (
"localhost" => (
"socket" => "/tmp/echo.sock",
"bin-path" => "/Users/onur/Downloads/fcgi-2.4.0/examples/tiny",
"check-local" => "disable"
),
)
new-host:examples onur$ ls -la echo
-rwxr-xr-x 1 _www _www 3322 Aug 4 21:21 echo
What am I missing? What are the specificities of the execution of a binary with fastcgi in lighttpd?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这不应该
是这样的吗?
你正在尝试运行echo而不是tiny,不是吗?
shouldn't this:
be something like this, instead?
you are trying to run echo and not tiny, aren't you?