If you need to add a PHP extension on cPanel you can do this by using the Select PHP Version tool under the Software section of your cPanel account and selecting Extensions from the top menu.
From here you can see a list of available PHP extensions and you can add or remove them as necessary.
By Hostziza support team