Source: lighttpd Version: 1.4.45-1 Severity: grave Dear Maintainers,
I run into trouble while trying to use lighttp and fastcgi functionality within testing/stretch. lighttpd fails to start if I have enabled the modul fastcgi after using lighttpd-enable-mod # lighttpd-enable-mod fastcgi-php After a while of investigation it turned out the 15-fastcgi-php.conf is still using the PHP5 style and depends. I need to install the package php7.0-cgi and to change the call for the PHP cgi binary. As the install of lighttpd is running without errors I think the package is also needed to change the suggesting of the (currently wrong) package php5-cgi into a depends on package php7.0-cgi. Without this package lighttp isn't working right now after the modul is enabled. The following change solved the issue for me. --- 15-fastcgi-php.conf.old 2017-04-09 12:45:20.323178018 +0200 +++ 15-fastcgi-php.conf.new 2017-04-09 12:46:16.515176043 +0200 @@ -2,10 +2,10 @@ # /usr/share/doc/lighttpd/fastcgi.txt.gz # http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ConfigurationOptions#mod_fastcgi-fastcgi -## Start an FastCGI server for php (needs the php5-cgi package) +## Start an FastCGI server for php (needs the php7.0-cgi package) fastcgi.server += ( ".php" => (( - "bin-path" => "/usr/bin/php-cgi", + "bin-path" => "/usr/bin/php-cgi7.0", "socket" => "/var/run/lighttpd/php.socket", "max-procs" => 1, "bin-environment" => ( -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: armhf Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)