I would like to test that. Meanwhile, assume we have already installed nginx and php-fpm. With the current version:
$ apt install roundcube-core will pull in libapache2-mod-php. We know that adding php suppresses that, and I find that quite surprising. Your change removes libapache2-mod-php, but there is still that php depend that will pull it in. I think that adding php would still be necessary if the above behavior is constant. On the other hand, if php-fpm is moved from the recommends into the depends, problem solved: php | php-fpm Best regards, Philippe The trouble with common sense is that it is so uncommon. <Anonymous> On Wed, Jul 20, 2022 at 9:52 PM Guilhem Moulin <guil...@debian.org> wrote: > On Wed, 20 Jul 2022 at 15:57:08 -0400, Philippe Clérié wrote: > > Ok. That looks like it works. > > > > It simply would never have occurred to me to add php to php-fpm. > > Fair enough, it's arguably an issue in APT's dependency resolver: > > $ apt show roundcube-core > […] > Depends: […], libapache2-mod-php | php, […] > Recommends: apache2 | lighttpd | spawn-fcgi | php-fpm | httpd-cgi, […] > […] > > $ apt show php > […] > Depends: php7.4 > […] > > $ apt show php7.4 > […] > Depends: libapache2-mod-php7.4 | php7.4-fpm | php7.4-cgi, php7.4-common > […] > > $ apt show php-fpm > […] > Depends: php7.4-fpm > […] > > so in principle `apt install php-fpm roundcube-core` should be enough > not to pull apache2, but it needs the ‘php’ hint apparently. I just > removed the redundant ‘libapache2-mod-php |’ in > > https://salsa.debian.org/roundcube-team/roundcube/-/commit/c1853219642ce3b29b5f4e74ef273538d1188b4a > which seems to be help too. > > -- > Guilhem. >