<div dir="ltr">I would like to test that.<div><br></div><div>Meanwhile, assume we have already installed nginx and php-fpm. With the current version:</div><div><br></div><div>$ apt install roundcube-core</div><div><br></div><div>will pull in libapache2-mod-php. We know that adding php suppresses that, and I find that quite surprising.  </div><div><br></div><div>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.</div><div><br></div><div>On the other hand, if php-fpm is moved from the recommends into the depends, problem solved: php | php-fpm</div><div><br></div><div>Best regards,</div><div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Philippe</div><div><br></div><div><br></div><div>The trouble with common sense is that it is so uncommon.<br><Anonymous></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jul 20, 2022 at 9:52 PM Guilhem Moulin <<a href="mailto:guilhem@debian.org">guilhem@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, 20 Jul 2022 at 15:57:08 -0400, Philippe Clérié wrote:<br>
> Ok. That looks like it works.<br>
> <br>
> It simply would never have occurred to me to add php to php-fpm.<br>
<br>
Fair enough, it's arguably an issue in APT's dependency resolver:<br>
<br>
    $ apt show roundcube-core<br>
    […]<br>
    Depends: […], libapache2-mod-php | php, […]<br>
    Recommends: apache2 | lighttpd | spawn-fcgi | php-fpm | httpd-cgi, […]<br>
    […]<br>
<br>
    $ apt show php<br>
    […]<br>
    Depends: php7.4<br>
    […]<br>
<br>
    $ apt show php7.4<br>
    […]<br>
    Depends: libapache2-mod-php7.4 | php7.4-fpm | php7.4-cgi, php7.4-common<br>
    […]<br>
<br>
    $ apt show php-fpm<br>
    […]<br>
    Depends: php7.4-fpm<br>
    […]<br>
<br>
so in principle `apt install php-fpm roundcube-core` should be enough<br>
not to pull apache2, but it needs the ‘php’ hint apparently.  I just<br>
removed the redundant ‘libapache2-mod-php |’ in<br>
<a href="https://salsa.debian.org/roundcube-team/roundcube/-/commit/c1853219642ce3b29b5f4e74ef273538d1188b4a" rel="noreferrer" target="_blank">https://salsa.debian.org/roundcube-team/roundcube/-/commit/c1853219642ce3b29b5f4e74ef273538d1188b4a</a><br>
which seems to be help too.<br>
<br>
-- <br>
Guilhem.<br>
</blockquote></div>