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.

Attachment: signature.asc
Description: PGP signature

Reply via email to