[pkg-lighttpd] Bug#774644: lighttpd: fails to start (with no message given) when fastcgi-php module is enabled
David Z
unimportantdavidz at gmail.com
Mon Jan 5 17:39:42 UTC 2015
Package: lighttpd
Version: 1.4.31-4+deb7u3
Severity: important
A simple dependency fix, lighttpd package should simply add a dependency for
php5-cgi
Also reported almost 7 years ago against Ubuntu at
https://bugs.launchpad.net/ubuntu/+source/lighttpd/+bug/236027
To reproduce:
install lighttpd WITHOUT php5-cgi package installed
run:
# lighttpd-enable-mod
enter fastcgi-php and exit
reload lighttpd configuration or restart lighttpd
# service lighttpd restart
Normal output is shown, suggesting server is started successfully
Server is not actually started, /var/log/lighttpd/error.log shows:
2015-01-05 12:25:35: (log.c.166) server started
2015-01-05 12:25:35: (mod_fastcgi.c.1103) the fastcgi-backend /usr/bin/php-cgi
failed to start:
2015-01-05 12:25:35: (mod_fastcgi.c.1107) child exited with status 2 /usr/bin
/php-cgi
2015-01-05 12:25:35: (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.
If this is PHP on Gentoo, add 'fastcgi' to the USE flags.
2015-01-05 12:25:35: (mod_fastcgi.c.1397) [ERROR]: spawning fcgi failed.
2015-01-05 12:25:35: (server.c.976) Configuration of plugins failed. Going
down.
Installing package "php5-cgi" corrects the issue.
-- System Information:
Debian Release: 7.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 'stable'), (300, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages lighttpd depends on:
ii libattr1 1:2.4.46-8
ii libbz2-1.0 1.0.6-4
ii libc6 2.13-38+deb7u6
ii libfam0 2.7.0-17
ii libldap-2.4-2 2.4.31-1+nmu2
ii libpcre3 1:8.30-5
ii libssl1.0.0 1.0.1e-2+deb7u13
ii libterm-readline-perl-perl 1.0303-1
ii lsb-base 4.1+Debian8+deb7u1
ii mime-support 3.52-1+deb7u1
ii perl 5.14.2-21+deb7u2
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages lighttpd recommends:
ii spawn-fcgi 1.6.3-1
Versions of packages lighttpd suggests:
ii apache2-utils 2.2.22-13+deb7u3
ii openssl 1.0.1e-2+deb7u13
pn rrdtool <none>
-- no debconf information
More information about the pkg-lighttpd-maintainers
mailing list