Couldn't find any package by glob 'php7.2-gd' code example
Example: E: Couldn't find any package by regex 'php7.2-json'
sudo apt-add-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.0
sudo apt-add-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.0