add PHP 8.0 to a Debian install with a selection of the most used modules
as the title suggests add PHP 8.0 to a Debian install with a selection of the most used modules.
add sury.org to your apt sources then as root enter
apt install apt install php8.0 php8.0-apcu php8.0-bcmath php8.0-bz2 php8.0-cgi php8.0-cli php8.0-common php8.0-curl php8.0-fpm php8.0-gd php8.0-gmp php8.0-gmp-dbgsym php8.0-imagick php8.0-intl php8.0-mbstring php8.0-mysql php8.0-odbc php8.0-opcache php8.0-readline php8.0-soap php8.0-sqlite3 php8.0-sqlite3-dbgsym php8.0-xml php8.0-zip
then restart apache.
to enable PHP 8.0 for apache
a2enmod proxy_fcgi setenvif
and
a2enconf php8.0-fpm
use at your own risk and back up. etc.