install php7 for apache and mysql ubuntu 20.04 code example Example: ubuntu 20.04 php-mysql sudo apt install php libapache2-mod-php php-mysql