php__version_preference: [ 'php7.4' ] php__sury: true php__packages: [ 'curl', 'xml', 'gd', 'zip', 'mbstring', 'mysql', 'bcmath', 'intl', 'redis' ] # For php8.1 automatic install gd is not possible, because https://github.com/debops/debops/issues/2272 and https://github.com/oerdnj/deb.sury.org/issues/1947 # For solve that - touch file: /etc/apt/preferences.d/libgd-pin100 # with these contents: #Package: libgd3 #Pin-Priority: 100 # and launch installation process: #apt update #apt install -t bullseye libgd3 #apt-cache policy libgd3 #apt install php8.1-gd # TODO: Move that into own script