The PHP PEAR Packages feature allows you to search for and add PEAR packages to your website, or view all of your website’s available PHP packages.
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.
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:
o Update - Update the PEAR package. Reinstall - Reinstall the PEAR package.
o Uninstall - Remove the PEAR package from your server.
o 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