2009-08-30 50 views
0

这个日志文件是否为UBUNTU用户的某人所熟悉?快速CGI,Lighttpd,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的开始,如果你这样做。

Thx,Go​​sh。

回答

1

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

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