Pear 安装 - Console/Getopt.php 未找到
Pear Install - Console/Getopt.php not found
我正在使用 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 returns 404,不存在。我到处都看了,有人知道那里的正确 URL 是什么吗?
我想,你必须改变url。当前 url 已不存在。尝试以下 URL:
https://raw.githubusercontent.com/pear/Console_Getopt/master/Console/Getopt.php
我有 restored the "trunk" branch,所以应该可以再次下载。对不起,模糊。
除此之外,使用 go-pear.phar
文件而不是 go-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 returns 404,不存在。我到处都看了,有人知道那里的正确 URL 是什么吗?
我想,你必须改变url。当前 url 已不存在。尝试以下 URL:
https://raw.githubusercontent.com/pear/Console_Getopt/master/Console/Getopt.php
我有 restored the "trunk" branch,所以应该可以再次下载。对不起,模糊。
除此之外,使用 go-pear.phar
文件而不是 go-pear
文件。