pear.php.net is using a unsupported protocol

会社の開発者から、とあるPEARパッケージをインストールしてくれと依頼されたので
# pear install “Some Package”
を実行すると、

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


と冷たいお返事。

「.channels」ディレクトリをリネームして、「pear update-channels」をしてあげれば大丈夫。インストール成功となりました。どうやら「PHP5.2.9」と「PHP5.2.10」で起こる問題のようですね。「PHP5.2.11」でも起こるような気がしますが。

# cd /usr/local/lib/php
# mv .channels .channels-broken
# pear update-channels


とすることで、PEARモジュールを新規にインストールすることができました。
詳しくは、↓に書かれています。
http://blog.pear.php.net/2009/08/28/fixing-unsupported-protocol/

 

 

Related Posts

  1. php-4.4.2、なんかおかしい
  2. chap9-1-1
  3. テレビなど発煙の恐れ
  4. BIND 9の脆弱性情報
  5. 人という生き物は
  6. 旅のゆくえ
  7. 玄箱とたわむれる
  8. 頂き物
  9. WPtouch iPhone Theme
  10. OpenSSL/OpenSSH の脆弱性【Debian】

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!