The pear icon is not showing in cPanel
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.
-
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 -
Hi I get : stat: cannot stat "/usr/local/bin/pear": No such file or directory when I run: stat /usr/local/bin/pear 0 -
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 -
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 -
Hi @WebHostPro, Could you open a support ticket so we can take a closer look? Thank you. 0 -
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.
Comments
6 comments