Ensure PEAR on cPanel is up-to-date

On one of my cpanel boxes, I kept getting Deprecated warnings from PHP stemming from PEAR Config.php, Register.php and HTTP_Upload.php. When I logged into the cpanel control panel, it shoed that PEAR was up-to-date. A quick look at the server showed my I have two PEAR installs. One at /usr/local/lib/phpand one /usr/lib/php. The solution is easy: /usr/local/bin/pear -V /usr/bin/pear -V /usr/local/bin/pear upgrade PEAR /usr/bin/pear upgrade PEAR