For cPanel & WHM version 58
(Home >> Software >> Module Installers)
Use this section of the Module Installers interface to manage and install PEAR (PHP Extensions and Applications Repository) modules.
To manage installed and available PEAR modules, click Manage next to PHP Pear.
PHP Extensions and Applications Package Magic User Loader
We deprecated the Magic User Loader feature for EasyApache 4. If EasyApache 4 is installed on your server, you will not see this feature.
This feature allows users to integrate PHP extensions into scripts, without the need to specify a separate path to the installed extensions.
To enable the Magic User Loader, click Enable. To disable the Magic User Loader, click Disable.
If you migrate a site from a server with the Magic User Loader enabled to a server with the Magic User Loader disabled, you may receive “file not found” errors for
/Libraryfiles. For example:
You may also receive “file not found” errors if you migrate a site from a server with Magic User Loader disabled to a server with Magic User Loader enabled.
Select a PHP version
This feature 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.
PHP Extensions and Applications Package Installer
This feature allows you to search for, download, and install extensions from the PEAR repository.
If you know the exact name of the extension that you wish to install, enter its name in the Install a PHP Extensions and Applications Package text box and click Install Now.
To search for and install a PHP extension, perform the following steps:
- Use one of the following methods to find the desired extension:
- Enter a search term in the available text box and click Go.
Click Show Available PHP Extension(s) and Application(s) to list PHP extensions that are available from PEAR.
- The interface displays the following information for all of the displayed extensions:
- Module Name — The extension's name.
- Version — The extension's version number.
- Description — A description of the extension.
- Actions — The actions that you may perform for that extension.
- Click Install next to the extension that you wish to download and install.
- To view an extension’s documentation, click Show Docs for that extension.
- If you did not find the desired extension, enter a new keyword in the Search text box and click Go.
Installed PHP Extension(s) and Application(s)
The Installed PHP Extension(s) and Application(s) table lists all of the extensions that are currently installed on your server.
For each installed extension, the table displays the following information:
|Module Name||The extension's name.|
|Version||The extension's version number.|
You can perform the following actions for each extension: