install php7.0 ubuntu 16 code example
Example 1: install php 7.4 ubuntu
sudo apt update
sudo apt install php php-cli php-fpm php-json php-pdo php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath
Example 2: ubuntu 16 upgrade php 7.0 to 7.4
sudo apt install -y php7.4-mysqli php7.4-pdo php7.4-sqlite3 php7.4-ctype php7.4-fileinfo php7.4-zip php7.4-exif