php 7.4 and mysql install in ubuntu 20.04 code example Example: ubuntu 20.04 php-mysql sudo apt install php libapache2-mod-php php-mysql