How-to Install PHP 8.4 on Ubuntu 22.04 and 24.04

To install PHP version 8.4.x on Ubuntu linux 22.04, 24.04 or other version, you`ll need to install an additional package repository.
Run the follow commands in the terminal to do so:

sudo add-apt-repository ppa:ondrej/php
sudo apt update
sudo apt-install php8.4 php8.4-common

Leave a Reply

Your email address will not be published. Required fields are marked *