Skip to content

APC ‘unsupported protocol’

I want to install php-extension APC over PECL. I get this error:
pecl.php.net is using a unsupported protocal – This should never happen.
install failed

I found on blog.pear.php.net this solution:

Some PEAR installations on PHP 5.2.9 and 5.2.10 seem to be corrupted. When trying to install something, you will get the error:
pear.php.net is using a unsupported protocal – This should never happen. install failed
This problem comes from corrupted channel files. Go into your PEAR php directory and backup .channels directory:

cd `pear config-get php_dir`
mv .channels .channels-broken
pear update-channels

This means you lost all your channels except for the default ones (pear, pecl, doc and __uri) – but at least you do not have to re-install PEAR.

Sorry for the inconvenience.

This solution is work for me:-)