Step 1: Login to the cPanel account.
Step 2: Select the MultiPHP manager option under Software section.
Step 3: Click the domain which you want to switch the php version.
Step 4: Select the available PHP version from the top right.
Step 5: Click 'Apply' button to change the PHP version.