php8.1-cli is being installed due to another package recommending it. Right now this breaks WordPress installation due to WP-CLI being incompatible.
However, 8.1 shouldn't be installed anyway when the php_version is set to 8.0. This fixes the root cause by setting install_recommends: no which disables the feature in apt.
Fixes #1354
php8.1-cli is being installed due to another package recommending it. Right now this breaks WordPress installation due to WP-CLI being incompatible.
However, 8.1 shouldn't be installed anyway when the
php_version
is set to8.0
. This fixes the root cause by settinginstall_recommends: no
which disables the feature inapt
.More background: https://github.com/oerdnj/deb.sury.org/wiki/Frequently-Asked-Questions#why-is-phpdefaultversion-cli-always-installed and https://github.com/oerdnj/deb.sury.org/issues/1711