I use www/lighttpd for web server.
At some point the server on the host system stopped working (failed to start) if mod_fastcgi was enabled in the config files. I was OK with it because I had migrated the http + php based services into a jail and that was working without any problems.
Today however, I updated lang/php5 in the jail and now the web server is unable to start, just like in the host side:
I am now trying to debug from the host side (since both errors are identical) - I have lang/php5-extensions and www/spawn-fcgi installed. If I try to start fcgi manually I again get same code 255 error:
I don't have anything defined for spawn-fcgi in /etc/rc.conf because AFAIK lighttpd's config files take care of all settings anyway.
My guess is I am missing something in the config file or I need to use apache's www/mod_fcgid? lang/php52 config settings has a separate knob for fastcgi while lang/php5 and lang/php53 do not, by the way, but php52 is marked as DEPRECATED.
At some point the server on the host system stopped working (failed to start) if mod_fastcgi was enabled in the config files. I was OK with it because I had migrated the http + php based services into a jail and that was working without any problems.
Today however, I updated lang/php5 in the jail and now the web server is unable to start, just like in the host side:
Code:
(log.c.166) server started
(mod_fastcgi.c.1103) the fastcgi-backend /usr/local/bin/php-cgi failed to start:
(mod_fastcgi.c.1107) child exited with status 255 /usr/local/bin/php-cgi
(mod_fastcgi.c.1110) If you're trying to run your app as a FastCGI backend,
make sure you're using the FastCGI-enabled version.
(mod_fastcgi.c.1397) [ERROR]: spawning fcgi failed.
(server.c.964) Configuration of plugins failed. Going down.
# /usr/local/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -u www -g www -f /usr/local/bin/php-cgi
I don't have anything defined for spawn-fcgi in /etc/rc.conf because AFAIK lighttpd's config files take care of all settings anyway.
My guess is I am missing something in the config file or I need to use apache's www/mod_fcgid? lang/php52 config settings has a separate knob for fastcgi while lang/php5 and lang/php53 do not, by the way, but php52 is marked as DEPRECATED.