install php 7.2 extension curl ubuntu 18.04 code example
Example 1: ubuntu install php 7
sudo apt-get install php libapache2-mod-php
Example 2: installing php on ubuntu
sudo apt install php7.2-cli
sudo apt install hhvm
sudo apt-get install php libapache2-mod-php
sudo apt install php7.2-cli
sudo apt install hhvm