PHP PEAR Packages

PEAR packages are pieces of software written in the PHP scripting language. The PHP PEAR Packages interface allows users to search for and add PHP PEAR packages to your website. Click PHP PEAR Packages to view all available PHP packages, search for a specific kind of package, or, if you know its name, add one immediately.

As of 11.36, we now standardize the way we ship PHP 5.3 and its modules as RPMs. This includes the corresponding PEAR packages. PEAR packages are pieces of software written in the PHP script language.

System Modules

There are certain PEAR packages that come pre-installed in cPanel. You can click the Show System Installed Modules button in cPanel to see a list of these pre-installed PEAR packages.

the_php_extensions_and_applications_package_installer_screen.png
The PHP Extensions and Applications Package Installer screen.

 Remember: Modules installed by the system cannot be removed. After you click the Show System Installed Modules button you can see the documentation for the system-installed PEAR packages when you click the Show Docs button.

the_system_php_extensions_and_applications_screen.png
The System PHP Extension(s) and Application(s) screen.

PHP -m

The following is a list of PHP modules that the PHP binary is built with:

  • bz2
  • Core
  • ctype
  • curl
  • date
  • dom
  • ereg
  • fileinfo
  • filter
  • ftp
  • gd
  • gettext
  • hash
  • iconv
  • imap
  • json
  • libxml
  • mbstring
  • mcrypt
  • mysql
  • mysqli
  • openssl
  • pcre
  • PDO
  • pdo_mysql
  • pdo_pgsql
  • pdo_sqlite
  • pgsql
  • Phar
  • [PHP Modules]
  • posix
  • Reflection
  • session
  • SimpleXML
  • sockets
  • SPL
  • SQLite
  • sqlite3
  • standard
  • tidy
  • tokenizer
  • xml
  • xmlreader
  • xmlwriter
  • Zend Guard Loader
  • zip
  • zlib

PEAR Modules

The following is a list of PEAR modules that are shipped with cPanel:

  • Archive-Tar
  • Auth-SASL
  • Console-Getopt
  • Date
  • DB
  • File
  • HTML-Template-IT
  • HTTP
  • HTTP-Request
  • Log
  • Mail
  • Mail-Mime
  • Net-SMTP
  • Net-Socket
  • Net-URL
  • Net-UserAgent- Detect
  • PEAR
  • PEAR-Command- Packaging
  • Structures-Graph
  • XML-Parser
  • XML-RPC
  • XML-Util

PECL modules

cPanel provides the following PECL modules:

  • ioncube
  • sourceguardian
  • zendopt

 Note: In WHM 11.36, the cPanel PHP loader option in the PHP tab under Tweak Settings changed. Previously, the options were buttons. Now, these options are checkboxes. System adminstrators are able to select various combinations between ioncubesourceguardian, and zend.

More information regarding the cPanel PHP loader option? is available.

PHP disconnected from MySQL5

The PHP binary now links against the MySQL and Postgres libraries provided in usr/local/cpanel/3rdparty (instead of the prefix /usr).

 Note: The above statement applies to any version of MySQL and Postgres installed in your system.


View Available PEAR Packages

To view all available PEAR packages:

  1. Click Show Available PHP Extension(s) and Application(s).
  2. Once you find the PEAR package you want to install, click Install.


Search Available PEAR Packages

To search for a PEAR package based on a topic or keyword:

  1. Type the keyword into the Search box and click Go.
  2. Once you find the PEAR package you want to install, click Install.
    • To view the PEAR package creator’s documentation, click Show Docs.


Install a PEAR Package

If you know the name of the PEAR package you want to install:

  1. Type it in the box under Install a PHP Extensions and Applications Package.
  2. Click Install Now.


The Installed PHP Extension(s) and Application(s) Table

The Installed PHP Extension(s) and Application(s) table lets you manage the PEAR packages you have installed. The table shows the module name, version, and what you can do with it.

  • If you believe a PEAR package is out-of-date, cPanel can update it for you. To update a PEAR package, click Update.
  • If you believe a PEAR package has become corrupted or lost, you can reinstall it. To do this, click Reinstall.
  • If you wish to uninstall a PEAR package, click Uninstall.
  • To view the PEAR package's documentation, click Show Docs.


System Modules

There are certain PEAR packages that come pre-installed in cPanel. You can see a list of these by clicking Show System Installed Modules.

 Remember: System installed modules cannot be removed. You can see the documentation for the system installed PEAR packages by clicking Show Docs.

Was this answer helpful?

 Print this Article

Also Read

PHP Configuration

If problems are encountered with the way your server handles PHP packages, it may be necessary to...

RubyGems

RubyGems is a package manager for the Ruby programming language. It provides a self-contained...

Perl Modules

Perl modules are pieces of software written in the Perl programming language. cPanel makes it...

Site Software

You can add many useful functions to your website by installing pieces of software called cPanel...

Ruby on Rails

Using your cPanel interface, you can create and deploy a Ruby on Rails application. It may be...