PECL module is not showing in PHPINFO

kumkumsharma

Administrator
Staff member
Most of the times the PECL extension is not installed on server that’s why PECL module is not showing enabled.

You can manually check that extension is installed or not on server with PECL command-line tool. The PECL CLI tool is located at /opt/cpanel/phpXX/, you can check below example:

We are checking for PHP version 7.4

Code:
-bash-4.2# /opt/cpanel/ea-php74/root/usr/bin/pecl list
Installed packages, channel pecl.php.net:
=========================================
Package Version State
ps 1.4.1 stable
-bash-4.2#
The above command will give details about the module is install or not. If module is not already installed then you haveto run below command to install module:

Code:
/opt/cpanel/ea-php73/root/usr/bin/pecl install ps
In this pecl module the additional operating system package is pslib-devel package.
 
Top