[pkg-lighttpd] Bug#859927: lighttpd: 15-fastcgi-php.conf does not respect php7.0 transition
Carsten Schoenert
c.schoenert at t-online.de
Thu Apr 27 05:09:35 UTC 2017
Hello Michael,
On Sun, Apr 23, 2017 at 04:31:09PM -0400, Michael Gilbert wrote:
...
> Did you try installing php-cgi instead of php7.0-cgi? That will set
> up paths correctly without any need to modify lighttpd conf files.
no, it will not.
php-cgi is a virtual package that currently depends on php-cgi7.0. It
will set up a symlink to /etc/alternatives/php-cgi and this points to
the current /usr/bin/php-cgi7.0 binary.
root at debian:~# ls -l /usr/bin/php-cgi
lrwxrwxrwx 1 root root 25 Apr 9 12:18 /usr/bin/php-cgi -> /etc/alternatives/php-cgi
root at debian:~# ls -l /etc/alternatives/php-cgi
lrwxrwxrwx 1 root root 19 Apr 9 12:18 /etc/alternatives/php-cgi -> /usr/bin/php-cgi7.0
But /etc/lighttpd/conf-available/15-fastcgi-php.conf is using
/usr/bin/php5-cgi in the configuration, so that can't work. The setup of
15-fastcgi-php.conf isn't using /usr/bin/php-cgi7.0 nor
/usr/bin/php-cgi.
Regards
Carsten
More information about the pkg-lighttpd-maintainers
mailing list