PHP related
Kurze Schnippsel:
apt install phpx.x-{a,b,c}
Installiert die PHP-Module der Version vor der Klammer, in der Klammer die einzelnen Module.
phpenmod -v x.x -s fpm phar
Aktiviert für Version -v von fpm das Modul phar.
update-alternatives --config php
update-alternatives --config phar
update-alternatives --config phar.phar
Damit setzt man die Default-Werte.
Für PHP8.3 etwas umfangreicher:
apt install php8.3-{common,apcu,bcmath,curl,gd,gmp,igbinary,imagick,imap,intl,ldap,mbstring,mcrypt,memcache,memcached,msgpack,mysql,opcache,readline,redis,soap,sqlite3,xml,xsl,zip}