pear.php.net已关闭。如何安装镜像?

时间:2012-02-20 07:21:56

标签: php pear

我试图通过PEAR在我的PHP环境开发中安装新软件包,但如下所示:

File http://pear.php.net:80/rest/p/packages.xml not valid (received: HTTP/1.1 404 Not Found)

似乎php.net已关闭。

我试图设置一个镜像,因为us.php.net Digg使用以下命令进行托管:

pear config-set preferred_mirror us.pear.php.net

会出现以下错误:

Channel Mirror "us.pear.php.net" does not exist in your registry for channel "pear.php.net".
Attempt to run "pear channel-update pear.php.net" if you believe this mirror should exist as you may have outdated channel information.

当然,由于php.net已关闭,我无法更新频道。

有谁知道我该怎么办?

1 个答案:

答案 0 :(得分:3)

因为它失败了,除了等待它重新开始之外你无能为力。

让我们一起等待,由于这个原因,我不能做几项任务。