

Install a package
Search the catalog
Type the package name into the search box. cPanel queries the upstream PEAR repository and lists matches.
Click Install next to the package
cPanel pulls the package and dependencies into your account’s PEAR tree, under
~/php/.Update or uninstall
Both options sit next to Install in the Installed PEAR Packages list at the top of the page. Updates pull a newer version from PEAR if one is available; uninstall removes the package and its files.Why this is rarely the right tool
PEAR is in maintenance mode. The vast majority of useful PHP libraries are now on Packagist and installed with Composer. If a package is available both via PEAR and via Composer, prefer Composer:- A specific legacy script demands it (e.g., older Horde or osTicket installs).
- You’re maintaining a script that already imports PEAR-style packages and changing it is out of scope.
Common issues
The package list is empty or won't load
The package list is empty or won't load
The PEAR repository was unreachable when cPanel last refreshed. Wait a minute and reload. If it’s still empty, the upstream
pear.php.net may be down. Check pear.php.net directly.Class not found after install
Class not found after install
Either the include path doesn’t include
~/php/, or you imported the wrong file. Run pear list over SSH to confirm the package is registered, then check its install location.The package needs a PHP extension I don't have
The package needs a PHP extension I don't have
Many PEAR packages depend on extensions like
mbstring or xml. Toggle them on via Select PHP Version.
