Everything Gone From "PHP Extensions and Applications Package"

kyle783

Registered
May 22, 2012
3
0
51
cPanel Access Level
Root Administrator
Hi, I was having trouble getting my sites to include PEAR Mail & Mime, so I uninstalled PEAR from "PHP Extensions and Applications Package" in WHM and now I can't search for or install anything under that section. How do I reinstall PEAR so I can search for Pear packages again? I ran easyapache and recompiled php with PEAR, thinking that it would show up again, but no go. I also tried Rebuilding RPM database through WHM and nothing there either...
 

kyle783

Registered
May 22, 2012
3
0
51
cPanel Access Level
Root Administrator
when i use easyapache to rebuild php, pear is not installing because it thinks that it is already installed. pear is checked in the module list however. are there any files that may still exist after i manually removed pear through whm, that may be causing it not to install during php compile?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Can you see if you have any copy of PEAR still existing?

Code:
whereis pear
If you find it still exists in /usr/bin/pear, then try symlinking it:

Code:
ln -s /usr/bin/pear /usr/local/bin/pear