Manage PHP versions in SSH using command line is easy way. Below the steps described how to do.
You can use the following API calls via the command line to manage MultiPHP.
Manage PHP versions
Get the available PHP versions
whmapi1 php_get_installed_versions
Set the default PHP version for the server
whmapi1 php_set_system_default_version version=ea-php70
Set the PHP version for a domain
whmapi1 php_set_vhost_versions vhost-0=example.tld version=ea-php74
Get the PHP version for all domains
whmapi1 php_get_vhost_versions