Are you getting the following error while updating any package in pear? pear.php.net is using a unsupported protocal - This should never happen. I got this error right after I upgraded PHP from 5.2 to 5.9 (using CentOS-Testing repo). To resolve this situation, do this. [code lang="plain"]rm -fr /usr/share/pear/.channels[/code] and then do this [code lang="plain"]pear update-channels[/code] It should now give you the following output [code lang="plain"]Updating channel "doc.php.net" Update of Channel "doc.php.net" succeeded Updating channel "pear.php.net" Update of Channel "pear.php.net" succeeded Updating channel "pecl.php.net" Update of Channel "pecl.php.net" succeeded[/code] That's it, your issue is resolved.
If you want to install PHP 5.2.x instead of the PHP 5.1.6 offered with default CentOSPlus repo. Please consider installing the utterramblings repo. Setting up this repo is a breeze ... just follow these steps (more…)