Enable and Disable PHP Extensions in cPanel
1. Login to your cPanel account
2. Go to software section then click Select PHP Version
3. Click on Extensions tab
4. Select the PHP Extension you want to enable by ticking the box and by unticking the box it will disable that PHP Extension
That is how you enable and disable PHP extensions