快速 CGI、Lighttpd、Ubuntu

发布于 2024-08-02 21:44:04 字数 1013 浏览 1 评论 0原文

UBUNTU 用户是否熟悉此日志文件?

Lighttpd 日志文件:

> 2009-08-30 21:37:45: (log.c.75) server started 
> 2009-08-30 21:37:45: (mod_fastcgi.c.1029) the fastcgi-backend php5-cgi *failed* to start: 
> 2009-08-30 21:37:45: (mod_fastcgi.c.1033) *child exited with status 9 php5-cgi* 
> 2009-08-30 21:37:45: (mod_fastcgi.c.1036) If you're trying to run PHP as a FastCGI backend, make sure you're using the FastCGI-enabled version.
> You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT '(cgi)' NOR '(cli)'.
> For more information, check http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI#preparing-php-as-a-fastcgi-programIf this is PHP on Gentoo, add 'fastcgi' to the USE flags. 
> 2009-08-30 21:37:45: (mod_fastcgi.c.1340) [ERROR]: *spawning fcgi failed*. 
> 2009-08-30 21:37:45: (server.c.908) Configuration of plugins failed. Going down. 

请公开您是如何解决 fcgi 问题并使 lighttpd 启动的(如果是的话)。

谢谢,天哪。

Is this log file familiar to someone of UBUNTU users?

Lighttpd log file:

> 2009-08-30 21:37:45: (log.c.75) server started 
> 2009-08-30 21:37:45: (mod_fastcgi.c.1029) the fastcgi-backend php5-cgi *failed* to start: 
> 2009-08-30 21:37:45: (mod_fastcgi.c.1033) *child exited with status 9 php5-cgi* 
> 2009-08-30 21:37:45: (mod_fastcgi.c.1036) If you're trying to run PHP as a FastCGI backend, make sure you're using the FastCGI-enabled version.
> You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' in the output, NOT '(cgi)' NOR '(cli)'.
> For more information, check http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI#preparing-php-as-a-fastcgi-programIf this is PHP on Gentoo, add 'fastcgi' to the USE flags. 
> 2009-08-30 21:37:45: (mod_fastcgi.c.1340) [ERROR]: *spawning fcgi failed*. 
> 2009-08-30 21:37:45: (server.c.908) Configuration of plugins failed. Going down. 

Please open a secret how did you solved fcgi problem and made lighttpd to start, if you did.

Thx, Gosh.

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

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

发布评论

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

评论(1

蘑菇王子 2024-08-09 21:44:04

找到 PHP 可执行文件的正确路径。您可能需要使用 php-cgi 版本(默认的 php 可能是 php-cli,这是不合适的)。

如果没有,请安装 php-cgi 包或使用 --enable-fcgi 编译 PHP。

Find correct path to PHP executable. You might need to use php-cgi version (the default php might be php-cli, which is not suitable).

If you don't have one, install php-cgi package or compile PHP with --enable-fcgi.

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