PHP PECL
Valid for versions 82 through the latest version
Version:
82
Last modified: June 13, 2024
Looking for this interface?
Your hosting provider can enable or disable this interface for resellers in WHM's Edit Reseller Nameservers and Privileges interface (WHM >> Home >> Resellers >> Edit Reseller Nameservers and Privileges).
Overview
This section of the Module Installers interface allows you to manage and install PECL (PHP Extension Community Library) libraries.
The disable_functions
feature in PHP has changed as of version 8.0, which impacts all cPanel & WHM versions. Functions that have been disabled will behave as if they have not been declared, which means that the get_defined_functions()
will never include disabled functions. This causes an issue with PECL when the ’exec’ function has been added to the disable_functions
list.
Select a PHP version
This section of the interface allows you to specify the version of PHP on which you will install the modules. To select a specific version of PHP, perform the following steps:
- Select a PHP version from the menu.
- Click Apply.
This interface only displays for users with root
-level privileges.
Module Include Path
This section of the interface specifies that filepath to which the system will install the PHP PECL module that you select, for example:
/opt/cpanel/ea-php55/root/usr/lib64/php/modules
Find a PHP Pecl
This section of the interface allows you to search for and install a library from the PECL repository. When you install a PHP PECL library, the system enables the PHP extension by default.
To search for and install a PHP library, perform the following steps:
- Use either of the following methods to find the desired library:
- Enter a search term in the available text box and click Go.
- Click Show Available Modules to list PECL’s available PHP libraries.
- The interface displays the following information for all of the displayed libraries:
- Module Name — The library’s name.
- Version — The library’s version number.
- Description — The library’s description.
- Actions — The actions that you may perform for that library.
- Click Install next to the library that you wish to download and install.
- To view a library’s documentation, click Show Docs for that library.
- If you did not find the desired library, enter a new keyword in the Search text box and click Go.
Installed PHP Pecl(s)
The Installed PHP Pecl(s) table lists all of the libraries that exist on your server.
For each installed library, the table displays the following information:
- Module Name — The library’s name.
- Version — The library’s version number.
- Actions — You can perform the following actions for each library:
- Update — Update the library.
- Reinstall — Reinstall the library from PECL.
- Uninstall — Remove the library from your server.
- Show Docs — Read the library’s documentation for that PECL.