The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

The pear icon is not showing in cPanel

Discussion in 'General Discussion' started by WebHostPro, Aug 8, 2017.

Tags:
  1. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,612
    Likes Received:
    11
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi,

    One of my servers is not showing PEAR in the accounts cPanel. I checked and it's installed with easy apache 4 and it's listed with the package manager.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,286
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  3. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,612
    Likes Received:
    11
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi I get :

    stat: cannot stat â/usr/local/bin/pearâ: No such file or directory

    when I run:

    stat /usr/local/bin/pear
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,286
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  5. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,612
    Likes Received:
    11
    Trophy Points:
    318
    Location:
    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.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,286
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hi @WebHostPro,

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

    Thank you.
     
Loading...

Share This Page