While PHP has a robust foundation, there may be instances where you need to incorporate specific extensions for your account’s program execution. Fortunately, you can accomplish this task through the cPanel PHP Extensions and Applications Repository (PEAR) interface. Here are the steps you need to follow to install PEAR extensions within your cPanel.
Installing PEAR extensions in the cPanel
Log into your cPanel dashboard interface. Once inside the main cPanel area, scroll down to find the Software category. From there, click on the PHP PEAR Packages icon. This opens up the main PEAR screen. Click on the Show Available PHP Extension(s) and Application(s) button to see the list of PEAR packages. You will see a long list of extensions that may go on for many pages. Select your desired extension and click on the Install button. Our example will demonstrate the installation of the Archive_Zip extension. After clicking the Install button, the package will automatically install onto your account. Once completed, you will see some information regarding the extension on the page. Click on the Go Back button to finish. You can now see your newly installed PEAR module at the bottom of the page. You can also click on the button labeled Show System Installed Modules.