1) Login to your cPanel and choose “Select PHP Version” under the “Software” section.
Look for the ‘Current PHP version’. If it is native, please change it to some other version. You could keep the version same without the native option.
2) In the current page, you will see many options to enable PHP extensions. You can easily enable/disable the PHP extensions by click on the square next to the extension name and “Save” at the bottom.
If you need to edit the PHP settings like upload size, post size, memory limit, execution time, click on “Switch To PHP Options”, It will redirect to another page.
After making the changes click on “Save” to complete the process.