Install PHP8.4 and modules on Ubuntu

sudo apt install -y lsb-release gnupg2 ca-certificates apt-transport-https software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt install php8.4
# commonly used modules
sudo apt install php8.4-{bcmath,dev,fpm,xml,zip,intl,ldap,gd,cli,bz2,mysql,curl,mbstring,opcache,soap,cgi,gmp,pdo,pgsql} unzip php-pgsql

One comment

Leave a Reply