PHP Extensions and Applications Package

Valid for versions 82 through the latest version

Version:

82


Last modified: February 17, 2021

Overview

The PHP Extensions and Applications Package interface lets you install and manage PHP packages via the PHP Extensions and Applications Repository (PEAR). You can access this interface in WHM’s Module Installers interface (WHM >> Home >> Software >> Module Installers).

PEAR PHP packages are collections of functions that let you perform various PHP tasks. After installing a PEAR package, you can use the PHP package in a PHP program. When you install a PEAR PHP package, the system installs them directly from the PHP Extensions and Applications repository.

Important:

This interface is only available for root-enabled users.

Select a PHP version

To select the version of PHP on which you will install the PHP package, perform the following steps:

  1. Select a PHP version from the menu in the Select a PHP version section.
  2. Click Apply.

When you change the selected PHP version, the system updates the include filepath in the Module Include Path section.

Find and install packages

The PHP Extensions and Applications Package Installer lets you search for, download, and install PHP packages from the PEAR repository. To search for and install a PHP package, use one of the following methods:

Find a PHP Extensions and Applications Package

The Find a “PHP Extensions and Applications Package” section lets you search the PEAR repository for available PHP packages:

  1. Find the PHP package that you want to install with one of the following methods:
    • Enter a search term in the available text box and click Go.
    • Click Show Available Modules. A new interface will appear that lists all available PEAR PHP packages.
  2. The interface displays your search results as a table the following information:
    • Module Name — The PHP package’s name.
    • Description — A description of the PHP package.
    • Actions — The actions you can perform for the PHP package:
      • Update — Update the PHP package.
      • Reinstall — Reinstall the PHP package from PEAR.
      • Uninstall — Remove the PEAR PHP package from your server.
      • Show Docs — Read the PHP package’s documentation on the PHP Extensions and Applications repository.
  3. Click Install to install the PHP package, Show Docs to view the PHP package’s documentation.

If you did not find the desired PHP package, enter a new keyword in the Search text box and click Go.

Install a PHP Extensions and Applications Package

If you know the exact name of the PHP package that you want to install, enter its name in the Install a PHP Extensions and Applications Package text box and click Install Now. The system will automatically begin the module’s installation process.

Installed PHP Extension(s) and Application(s)

The Installed PHP Extension(s) and Application(s) table lists all of your server’s currently installed PHP packages. The table displays the following information:

  • Module — The PHP package’s name.
  • Version — The PHP package’s version number.
  • Actions — You can perform the following actions for each PHP package:
    • Update — Update the PHP package.
    • Reinstall — Reinstall the PHP package from PEAR.
    • Uninstall — Remove the PHP package from your server.
    • Show Docs — Read the PHP package’s documentation on the PHP Extensions and Applications repository.

Additional Documentation