ubuntu server 20.04 php 8 apt insatall code example
Example 1: install php 8 ubuntu
sudo apt install php8.0
Example 2: install php 8 ubuntu
sudo apt update
sudo apt install lsb-release ca-certificates apt-transport-https software-properties-common -y
sudo add-apt-repository ppa:ondrej/php