Step 1: Log into cPanel.

Step 2: Locate Multi PHP Manager.

Step 3: Choose your Domain.

Step 4: Then, Select the Dropdown from the right side to select PHP version and click apply.