Lighttpd's fastcgi module assumes php5-cgi is installed
Bug #236027 reported by
Gustavo Narea
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lighttpd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
By default, when this module is enabled it assumes php5-cgi is installed, which makes Lighty crash *with* *no* *warning* if php5-cgi is not installed.
You should either make php5-cgi a dependency of lighttpd or just don't assume it's installed (in config file /etc/lighttpd/
I'm using Hardy.
To post a comment you must log in.
2008-06-26 20:48:54: (log.c.75) server started c.1029) the fastcgi-backend /usr/bin/php-cgi failed to start: c.1033) child exited with status 9 /usr/bin/php-cgi c.1036) If you're trying to run PHP as a FastCGI backend, make sure you're using the FastCGI-enabled version. trac.lighttpd. net/trac/ wiki/Docs% 3AModFastCGI# preparing- php-as- a-fastcgi- programIf this is PHP on Gentoo, add 'fastcgi' to the USE flags. c.1340) [ERROR]: spawning fcgi failed.
2008-06-26 21:25:32: (server.c.1475) server stopped by UID = 0 PID = 8807
2008-06-26 21:25:59: (log.c.75) server started
2008-06-26 21:25:59: (mod_fastcgi.
2008-06-26 21:25:59: (mod_fastcgi.
2008-06-26 21:25:59: (mod_fastcgi.
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://
2008-06-26 21:25:59: (mod_fastcgi.
2008-06-26 21:25:59: (server.c.908) Configuration of plugins failed. Going down.