Using the PHP PEAR Package Interface in cPanel

cPanel tutorials & how to guides
Wide range of key features crucial for website management

Search for PEAR PHP packages

Updated: January 19, 2023
By: RSH Web Editorial Staff

Contact Us

cPanel Version 108.0.15  -  Theme Version Jupiter

cPanel Tutorials PEAR

cPanel - Software - PHP PEAR Packages

PHP Pear
PEAR is short for PHP Extension and Application Repository.
A PEAR package is created as a gzipped tar record. Each file contains source code written in PHP. Developers can utilize PEAR bundles as conventional third party code by using a simple Include statement in PHP. PEAR packages arte used for interacting with databases, handling e-mail, processing XML, and much more. PHP code libraries can help speed up your website development projects.

PHP Pear

Module Include Path

The Module Include Path section of the interface displays the location where the system will store your modules. If you wish to reference those modules from other modules or programs, use this include path.

Using Your PHP Extension and Application

The Using Your PHP Extensions Module(s) section of the interface lists different codes that you can include in the top of your PHP module or application.

This code represents the location of PHP that the system will use to run the module or application.

Installing PEAR Packages

If you know the name of the module you want to install, enter it in the Install a PHP Extensions and Applications Package text box and click Install Now.

  • • Enter a search term in the Search text box and click Go, and click Install next to the package that you wish to install.
  • • Click Show Available Modules to display a list of available PEAR packages, and click Install next to the package that you wish to install.

The interface displays the following information for the modules:

  • • Module Name - The module’s name.
  • • Version - The PEAR package’s version number.
  • • Description - A description of the module.
  • • Actions - The actions that you may perform for that module.

Installed PEAR packages

The Installed Modules table lists all of the PEAR packages that exist on your hosting account.

For each installed PEAR package, the table displays the following information:

  • • Module - Name The PEAR package’s name.
  • • Version - The PEAR package’s version number.
  • • Actions - You can perform the following actions for each PEAR package:
  • ◦ Update - Update the PEAR package. Reinstall - Reinstall the PEAR package.
  • ◦ Uninstall - Remove the PEAR package from your server.
  • ◦ Show Docs - Read the PEAR package’s documentation.

System modules

cPanel includes specific pre-installed PEAR packages. To see a list of pre-installed PEAR packages, click Show System Installed Modules.

Warning: You cannot remove cPanel’s system modules

Related cPanel Tutorials and How To Guides
Manage, tweak, and increase the security and performance

Tweet  Share  Pin  Email

We welcome your comments, questions, corrections and additional information relating to this article. Please be aware that off-topic comments will be deleted.
If you need specific help with your account, feel free to contact us anytime
Thank you

More Articles Of Interest

RSH Web Services offers a wide range of cPanel hosting services, from personal and professional to business Websites. We tailor our packages around your needs for the best possible solution