You can use CloudLinux Selector to enable or disable available PHP extensions in cPanel.
- Log in to your cPanel account.
- In the Software section, click on Select PHP Version.
- Click on the Extensions menu.
> Note: if the Extensions page shows an error related to the native PHP version, change it to a non-native version first.
- To enable the extension, check the option you want to enable. Uncheck it if you want to disable it.