我正在尝试通过osx终端中的pear安装predis并收到此错误:
$ pear install pearhub/predis
Attempting to discover channel "pearhub"...
Attempting fallback to https instead of http on channel "pearhub"...
unknown channel "pearhub" in "pearhub/predis"
invalid package name/package file "pearhub/predis"
install failed
你知道我要做些什么来发现pearhub吗?
答案 0 :(得分:6)
PEAR需要知道“pearhub”的含义。在这种情况下,它意味着“pearhub.org”,一个项目存储库。发现这样:
$ pear channel-discover pearhub.org
$ pear install pearhub/predis
答案 1 :(得分:3)
Predis git repository https://github.com/nrk/predis/包含指向PEAR频道http://pear.nrk.io/的链接,并遵循以下说明: