Skip to main content

The pear icon is not showing in cPanel

Comments

6 comments

  • cPanelMichael
    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:
    stat /usr/local/bin/pear
    Also, what version of cPanel is installed on this server? Thank you.
    0
  • WebHostPro
    Hi I get : stat: cannot stat "/usr/local/bin/pear": No such file or directory when I run: stat /usr/local/bin/pear
    0
  • cPanelMichael
    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:
    # 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:
    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.
    0
  • WebHostPro
    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.
    0
  • cPanelMichael
    Hi @WebHostPro, Could you open a support ticket so we can take a closer look? Thank you.
    0
  • ghulam zakria
    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
    0

Please sign in to leave a comment.