You are reading

Fixing ‘Unsupported Protocol’ Error with PECL

Posted: January 26, 2010 | By: TJ | In Technology | One comment

After installing PHP 5.2.10, I wanted to setup a few additional modules using PECL. I found soon after that I was unable to do so because of the following error:

pear.php.net is using a unsupported protocal – This should never happen. install failed

The problem seems to exhibit itself in corrupted PEAR installations with PHP 5.2.9 and 5.2.10. To fix this, we’ll update the channels:

$ mv /usr/local/lib/php/.channels /usr/local/lib/php/.channels.bak
$ pear update-channels

After that, you should be good to go.

Comments for this entry

[...] off my last post on PECL issues, I’ve run into additional problems installing PECL extensions on my CentOS 5.4 [...]

Leave your comment



Copyright © 2010. All rights reserved.

This blog is powered by WordPress and proudly hosted by (mt) Media Temple.