Knowledgebase
PHP Pear Packages Print this Article
Overview:
PHP PEAR packages are software components that developers write in the PHP language. The PHP PEAR Packages interface allows you to search for and add PEAR packages to your website, or view all of your website’s available PHP packages.
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 a choice of code that you must 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.
Install PEAR package
To install a PEAR package, perform one of the following actions:
-
If you know the name of the desired module, 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 server.
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.
Was this answer helpful?
Related Articles
Simple CGI Wrapper CGI scripts are pieces of software that can do many useful things for your...
Overview If you encounter problems with the way your server handles PHP packages, it may be...
As of cPanel & WHM version 11.36, we ship PHP 5.3 and its modules as a set of RPMs. This...
Overview: This interface allows you to create and deploy a Ruby on Rails® application....
Overview: This interface allows you to configure your server to automatically compress specified...