If you have a subdomain of your main site or folder that you wish to setup with different PHP version, simply add the following to .htaccess of the folder in order to change PHP version just for that specific folder:
SetHandler application/x-httpd-alt-php74___lsphp
For more information on how alternative PHP version works for subdomains and sub folders, please see: