梨安装 - 找不到Console / Getopt.php

时间:2015-02-23 18:49:17

标签: pear

我使用go-pear.php在我的网络托管上安装Pear,我收到此错误:

Bootstrapping Installer...................
Bootstrapping PEAR5.php............(remote) ok
Bootstrapping PEAR.php............(remote) ok
Bootstrapping Archive/Tar.php............(remote) ok
Bootstrapping Console/Getopt.php............(remote) Not Foundok

我有:

$bootstrap_files = array(
    'PEAR5.php'            => 'https://raw.githubusercontent.com/pear/pear-core/master/PEAR5.php',
    'PEAR.php'             => 'https://raw.githubusercontent.com/pear/pear-core/master/PEAR.php',
    'Archive/Tar.php'      => 'https://raw.githubusercontent.com/pear/Archive_Tar/master/Archive/Tar.php',
    'Console/Getopt.php'   => 'https://raw.githubusercontent.com/pear/Console_Getopt/trunk/Console/Getopt.php',
);

足够,最后一个URL返回404,不存在。我到处都是,任何人都知道那里的正确网址是什么?

2 个答案:

答案 0 :(得分:1)

我有restored the "trunk" branch,因此下载应该再次有效。抱歉模糊了。

除此之外,请使用go-pear.phar文件而不是go-pear文件。

答案 1 :(得分:0)

我想,你必须改变网址。当前的网址不再存在。请尝试以下网址:

https://raw.githubusercontent.com/pear/Console_Getopt/master/Console/Getopt.php

相关问题