Knowledgebase

How to Install PHP PEAR Packages on cPanel

To install PHP PEAR packages on a cPanel server, you can use the cPanel's built-in PEAR Package Manager interface. Follow these steps:

  1. Log in to cPanel:

    • Go to your cPanel login page and log in with your credentials.
  2. Locate the "Software" Section:

    • In the cPanel dashboard, look for the "Software" section. It's usually near the bottom of the page.
  3. Click on "PHP PEAR Packages":

    • Within the "Software" section, you should find an option called "PHP PEAR Packages." Click on it.
  4. Search for the Desired Package:

    • In the PHP PEAR Package Manager interface, you'll see a search bar. Type the name of the package you want to install.
  5. Select the Package:

    • After searching, a list of packages matching your search term will be displayed. Click on the package you want to install.
  6. Choose a Version (if applicable):

    • If there are multiple versions available for the package, select the version you want to install.
  7. Click "Install/Update":

    • You'll see a button labeled "Install/Update." Click it to begin the installation process.
  8. View Installation Progress:

    • You'll be able to see the progress of the installation. It may take a few moments.
  9. Confirmation Message:

    • Once the installation is complete, you'll receive a confirmation message indicating that the package was successfully installed.
  10. Verify Installation:

    • To verify that the package is installed, you can check the list of installed PEAR packages in the PHP PEAR Package Manager interface.

That's it! You have successfully installed a PHP PEAR package on your cPanel server.

Please note that not all cPanel configurations may have the PHP PEAR Package Manager available. If it's not available in your cPanel setup, you might need to install PEAR packages using the command-line interface, if your server allows it.

  • 0 Users Found This Useful
Was this answer helpful?