Zaktualizuj wersję PHP konkretnej domeny na 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