Skip to content
🐘 php

Unsupported protocol from PECL client

1 min read

Written in 2010. It may still be useful, but tools and my own views have probably moved on since.

I was getting the error message pecl.php.net is using a unsupported protocal - This should never happen. while trying to install the MongoDB extension for PHP.

Well it did happen. Here’s how to fix.

Simply run:

pear update-channels

Job done. I wonder how everyone else deals with these tiny, but useful, posts on their own blog. Seems a waste to have it at the top of the screen on the front page.

Source