PEAR distributes reusable PHP packages. Where your provider enables it, cPanel can install packages into your account and show the path your application needs to load them.

Find the required package

  1. Open Software > PHP PEAR Packages in cPanel.
  2. Note the path under Using Your PHP Extension(s) and Application(s).
  3. Enter the package name in the search field and click Go, or use Show Available Modules.
  4. Check the package’s purpose, maintenance and compatibility with the site’s PHP version.

Install and review the result

Choose the package’s install control. If you already know its exact name, enter it under the direct installation option and click Install Now.

Read the installation output rather than assuming the request succeeded. Dependencies or incompatible versions may prevent installation.

Configure the application

Use the account’s displayed package path according to the application’s loading or include-path requirements, then test the application.

PEAR packages are not the same as every compiled PHP extension. Installing a package here does not enable a missing server extension or change the website’s PHP handler.

If the interface is unavailable, use the application’s supported dependency-management method or ask the provider about the available tools.