Following article will assist you to enable/disable php extensions from cPanel.
- Login to cPanel.
- Locate Select PHP version and click on it.
- Choose your desired PHP version and click on Set as Current.
- To set the PHP extensions, Click on Switch to PHP settings.
- Click on the extension you wish to change, enter the value and save the settings.