我使用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,不存在。我到处都是,任何人都知道那里的正确网址是什么?
答案 0 :(得分:1)
我有restored the "trunk" branch,因此下载应该再次有效。抱歉模糊了。
除此之外,请使用go-pear.phar
文件而不是go-pear
文件。
答案 1 :(得分:0)
我想,你必须改变网址。当前的网址不再存在。请尝试以下网址:
https://raw.githubusercontent.com/pear/Console_Getopt/master/Console/Getopt.php