我试图在我的网站空间上安装 PHP Pear。我从 http://pear.php.net/go-pear 上传了安装程序文件
我启动了安装程序,似乎一切正常,只是每次都卡在 21%。
这是安装程序的输出,但我没有收到任何错误...
Starting installation ...
Loading zlib: ok
Bootstrapping Installer...................
Bootstrapping PEAR5.php............(remote) ok
Bootstrapping PEAR.php............(remote) ok
Bootstrapping Archive/Tar.php............(remote) ok
Bootstrapping Console/Getopt.php............(remote) ok#
我到处寻找解决方案,但似乎没有任何效果。也许有人可以帮我解决这个问题..
编辑:
在我的网站空间上激活 PHP 错误后,我现在收到一个错误(愚蠢的我)。 现在我收到以下错误:
Fatal error: Class 'PEAR' not found in /customers/d/1/5/team-equipment.de/httpd.www/_pear/pearinstaller.php on line 697
检查完这个问题后,我简单地用谷歌搜索了答案,并在 stackoverflow 上找到了它:Fatal error: Class 'PEAR' not found in /home/user1/public_html/go-pear.php on line 697
这解决了我的问题!
最佳答案
更新链接
$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/master/Console/Getopt.php',);
关于PHP Pear 安装程序停留在 21%,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26815526/