【问题标题】:Fast CGI, Lighttpd, Ubuntu快速 CGI、Lighttpd、Ubuntu
【发布时间】:2009-08-30 15:46:39
【问题描述】:

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 启动,请公开一个秘密。

谢谢,天哪。

【问题讨论】:

    标签: ubuntu lighttpd fastcgi


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-08-26
      • 2011-08-08
      • 1970-01-01
      • 2023-03-10
      • 1970-01-01
      • 2021-01-20
      • 1970-01-01
      • 2018-10-11
      相关资源
      最近更新 更多