Friends, today we will talk about How to enable PHP extensions through cPanel. Last, to last week we published a post about How to enable PHP modules in WHM. So today we write this post because one of my subscribers requested for this post.
In this post, we will learn how to install PHP Zip extension from cPanel. Sometimes these extensions are not installed/activated by default in cPanels, so we have to manually install it.
Let see how we can enable PHP ZIP extension. Follow the below steps, screenshots are taken from Godaddy cPanel:
STEP 2: Go to PHP PEAR Package. Type Zip in the search bar, you will find Archive_Zip. Click on green install icon, see screenshot(source: Godaddy cPanel)
STEP 3: Once you install Archive_Zip, go to the second part(Select PHP Version) of this process as per the first screenshot.
STEP 4: Once you click Select PHP Version, you will see all enabled extensions in the current PHP version, you can see Archive_Zip(zip) as well. Now what we have to do is to click the checkbox of Zip extension and then hit the save button to add the Archive_Zip to the current PHP version. See screenshot(source: Godaddy cPanel)
STEP 5: Once you hit the save button, your PHP Zip extension would be installed successfully.
STEP 6: Now the final process(3rd part as per in the first screenshot) is to clear all the PHP Processes(it is like clearing cache). What we have to do is, click the PHP Processes and hit the Kill Processes button, That’s all.
STEP 7: Your PHP Zip Extension is installed successfully. Now you can use PHP ZIP Extension on your website.