To change the PHP version for a specific subdomain or folder on Hostverge, you can do so by editing or creating a `.htaccess` file in the folder you wish to modify.
Here’s how to proceed:1. Access your hosting account’s File Manager.
2. Navigate to the folder or subdomain where you need to change the PHP version.
3. Open (or create) a `.htaccess` file in that directory.
4. Add the following code to specify PHP 7.3:
“`apache <FilesMatch “\.(php4|php5|php3|php2|php|phtml)$”>
SetHandler application/x-httpd-alt-php73___lsphp
</FilesMatch> “`
5. Save the `.htaccess` file. This will apply PHP 7.3 specifically to the folder or subdomain where the `.htaccess` file is located.
This method allows you to set different PHP versions for subdomains or directories, even if the root domain uses another version {6†source} {7†source}.