No handlers for package.xml version 2.0

尝试在某主机安装PearDB_Table

pear install -o DB_Table

下载…………………………等了半晌,在下载完之后,本应安装成功的时候,丢出来一句:

No handlers for package.xml version 2.0

这实在是很奇怪的事情,php的xml extension没少装,依赖包也不曾短缺了它的,它怎么就能这样呢?搜索了一把,在Pear的Faq上面找到了答案.

Why do I get “No handlers for package.xml version 2.0” when I try to install a package?

You are using a PEAR version lower than 1.4.0.

To install the package, you have to update PEAR via:

$ pear upgrade PEAR

This will install the latest available version of PEAR which is capable of installing packages that have only a package.xml version 2.0.

在升级Pear为1.4.11之后,问题解决.

3 replies on “No handlers for package.xml version 2.0”

  1. pear upgrade PEAR 运行了这个命令之后,又出了新问题:requires package ‘Structrues_Graph’>=1.0.2

    哪位高手指点一下

Comments are closed.