Hello! When trying to start lighttpd it crashes, and the error log says this: 2008-07-14 07:55:44: (mod_fastcgi.c.1340) [ERROR]: spawning fcgi failed. 2008-07-14 07:55:44: (server.c.908) Configuration of plugins failed. Going down. 2008-07-14 07:58:09: (log.c.75) server started 2008-07-14 07:58:09: (mod_fastcgi.c.1029) the fastcgi-backend /usr/local/bin/php-cgi-cgi failed to start: 2008-07-14 07:58:09: (mod_fastcgi.c.1033) child exited with status 9 /usr/local/bin/php-cgi-cgi 2008-07-14 07:58:09: (mod_fastcgi.c.1036) If you're trying to run PHP as a FastCGI backend, make sure you're usin g 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, N OT '(cgi)' NOR '(cli)'. For more information, check http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI#preparing-php-as-a-fastcgi-progr amIf this is PHP on Gentoo, add 'fastcgi' to the USE flags. 2008-07-14 07:58:09: (mod_fastcgi.c.1340) [ERROR]: spawning fcgi failed. 2008-07-14 07:58:09: (server.c.908) Configuration of plugins failed. Going down. Notice the "php-cgi-cgi". php-cgi does exist though: # php-cgi -v PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cgi-fcgi) (built: Jul 13 2008 20:19:02) Copyright (c) 1997-2008 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
on 14.07.2008 06:05
on 14.07.2008 09:54
wikro wrote: > Hello! > > When trying to start lighttpd it crashes, and the error log says this: > > 2008-07-14 07:55:44: (mod_fastcgi.c.1340) [ERROR]: spawning fcgi failed. > 2008-07-14 07:55:44: (server.c.908) Configuration of plugins failed. > Going down. > 2008-07-14 07:58:09: (log.c.75) server started > 2008-07-14 07:58:09: (mod_fastcgi.c.1029) the fastcgi-backend > /usr/local/bin/php-cgi-cgi failed to start: > 2008-07-14 07:58:09: (mod_fastcgi.c.1033) child exited with status 9 > /usr/local/bin/php-cgi-cgi > 2008-07-14 07:58:09: (mod_fastcgi.c.1036) If you're trying to run PHP as > a FastCGI backend, make sure you're usin g 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, N OT '(cgi)' NOR > '(cli)'. > For more information, check > http://trac.lighttpd.net/trac/wiki/Docs%3AModFastCGI#preparing-php-as-a-fastcgi-progr > amIf this is PHP on Gentoo, add 'fastcgi' to the USE flags. > 2008-07-14 07:58:09: (mod_fastcgi.c.1340) [ERROR]: spawning fcgi failed. > 2008-07-14 07:58:09: (server.c.908) Configuration of plugins failed. > Going down. > > Notice the "php-cgi-cgi". php-cgi does exist though: > > # php-cgi -v > PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cgi-fcgi) (built: Jul 13 2008 > 20:19:02) > Copyright (c) 1997-2008 The PHP Group > Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies Hello again, you can disregard this question. The problem was in the lighttpd.conf-file. I just uncommented the lines which contained the fcgi-stuff for php and did not proof read the default text. Removed the extra "-cgi" and it worked like a charm. Cheers!
on 02.08.2008 13:28
(mod_fastcgi.c.1025) the fastcgi-backend /usr/bin/php-cgi failed to start: (mod_fastcgi.c.1029) child exited with status 254 /usr/bin/php-cgi (mod_fastcgi.c.1032) 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-program If this is PHP on Gentoo, add 'fastcgi' to the USE flags. (mod_fastcgi.c.1336) [ERROR]: spawning fcgi failed. (server.c.892) Configuration of plugins failed. Going down. --- fastcgi.server = ( ".php" => ( ( "bin-path" => "/usr/bin/php-cgi", --- # php -v PHP 5.2.5-p20080206-pl3-gentoo (cli) (built: Aug 2 2008 15:06:32) --- # php-cgi -v no any response ?!?!?! --- USE flags: berkdb bzip2 cgi cli crypt ctype curl exif fastcgi fcgi gd gdbm iconv imap mysql ncurses nls pcntl pcre pic posix readline reflection session ssl truetype unicode xml zip zlib

