The pear icon is not showing in cPanel

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello,

Can you verify the "PHP Pear Packages" option is enabled for the feature list associated with the account in "WHM >> Feature Manager"? If so, can you check if "/usr/local/bin/pear" exists on this server? EX:

Code:
stat /usr/local/bin/pear
Also, what version of cPanel is installed on this server?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello,

Could you verify which version of cPanel is installed on this server? On a test server running cPanel 64, the following symbolic link exists:

Code:
# ls -l /usr/local/bin | grep pear
lrwxrwxrwx 1 root   root      38 Jul  3 17:20 pear -> /opt/cpanel/ea-php70/root/usr/bin/pear
You can manually setup the symbolic link with a command like this if it does not exist:

Code:
ln -s /opt/cpanel/ea-php70/root/usr/bin/pear /usr/local/bin/pear
That should allow the PEAR icon to appear in cPanel.

Thank you.
 

WebHostPro

Well-Known Member
PartnerNOC
Jul 28, 2002
1,715
28
328
LA, Costa RIca
cPanel Access Level
Root Administrator
Twitter
Sure it's:
CLOUDLINUX 7.3 x86_64 kvm – lv66 - cPanel & WHM 64.0 (build 36)

I did a forced update as well and still no icon.

I also ran ln -s /opt/cpanel/ea-php70/root/usr/bin/pear /usr/local/bin/pear and still no icon.

I can throw a ticket in, just wanted to see if it was an easy fix.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hi @WebHostPro,

Could you open a support ticket so we can take a closer look?

Thank you.
 

ghulam zakria

Registered
Jun 13, 2019
1
0
1
sharjah
cPanel Access Level
Root Administrator
Creating a link using this command resolved my issue,

I also ran ln -s /opt/cpanel/ea-php70/root/usr/bin/pear /usr/local/bin/pear and still no icon.

BUT I HAD TO CHECK MY PHP VERSION, TO MAKE SURE I DONT COPY PASTE, AS THE CODE GIVEN ABOVE IS FOR EA-PHP70 AND MY EA72, so guys better be careful, needs little workout to find your version of easyapache PHP used in affected cpanel to run above command