Almost all hosting control panel software offer multiple PHP versions to serve websites. You can change PHP version per domain using MultiPHP Manager offered by the control panel. However, if the MultiPHP Manager is unavailable then you can set the same using the domain’s .htaccess file.