To change the default PHP version and add / remove different options, please follow the guide below:
1. Login to your cPanel
2. Search for "Select PHP version" and click on it

3. Select the PHP version that you need and click "Set as Current"

4. You can also select the different extensions that you need enabled

5. For more advanced options, click "Swith to PHP options"

6. You can edit the PHP options and then click on Save