ubuntu command to set php 7.2 code example Example: ubuntu install php 7 sudo apt-get install php libapache2-mod-php