The main php version is set within the php selector.
If you want to keep this configuration and set a different php version to a domain under the same Cpanel account, place the below code in the .htaccess file of the relevant addon domain/subdomain.
AddHandler application/x-httpd-alt-php74___lsphp .php
Then just change the version with modifying “…php74…” to the one you want to set.
Updated 9 months ago