How do I upgrade pear from 1.4.9 to the latest version?
It's now
pear upgrade --force --alldeps http://pear.php.net/get/PEAR-1.10.1
Then upgrade the rest
pear clear-cache
pear update-channels
pear upgrade
pear upgrade-all
pear upgrade --force http://pear.php.net/get/PEAR-1.9.0
I am using Debian 8 and apt-get install php-pear only installs 1.9.
I then found this works:
pear upgrade pear