Mettre à jour la version PHP du domaine particulier sur Ubuntu
follow the steps in below site
https://www.digitalocean.com/community/tutorials/how-to-run-multiple-php-versions-on-one-server-using-apache-and-php-fpm-on-ubuntu-18-04
Lokesh003