PHP Pear安装程序卡在21% [英] PHP Pear Installer stuck at 21%
问题描述
我试图在我的Webspace上安装PHP Pear.我从 http://pear.php.net/go-pear 上传了安装程序文件/p>
我启动了安装程序,除了每次卡住率只有21%之外,一切似乎都可以正常工作.
这是安装程序的输出,但没有任何错误...
开始安装...
正在加载zlib:确定
引导安装程序.........
引导PEAR5.php ............(远程)好
引导PEAR.php ............(远程)好
启动Boots Archive/Tar.php ............(远程)好
自举控制台/Getopt.php ............(远程)好#
我到处都在寻找解决方案,但似乎没有任何效果.也许有人可以帮助我解决这个问题.
在我激活了Webspace上的PHP错误后,我现在收到一条错误消息(对不起,我). 现在,我收到以下错误:
致命错误:在第697行的/customers/d/1/5/team-equipment.de/httpd.www/_pear/pearinstaller.php中找不到类"PEAR"
检查此问题后,我简单地搜索了答案并在stackoverflow上找到了它:
这解决了我的问题!
更新链接
$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',);
来源: https://stackoverflow.com/a/23889357/169630
I tried to install PHP Pear on my Webspace. I uploaded the installer file from http://pear.php.net/go-pear
I started the installer and everything seems to working except it stuck at 21% everytime.
This is the output of the installer, but I don't get any errors...
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#
I have searched for a solution everywhere but nothing seems to work. Maybe someone can help me with this issue..
EDIT:
I recieve an error now, after I activated PHP Errors on my webspace (silly me). Now I recieve the following errors:
Fatal error: Class 'PEAR' not found in /customers/d/1/5/team-equipment.de/httpd.www/_pear/pearinstaller.php on line 697
After checking this issue I simply google the answer and found it on stackoverflow: Fatal error: Class 'PEAR' not found in /home/user1/public_html/go-pear.php on line 697
This solved my problem!
update links
$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',);
Source : https://stackoverflow.com/a/23889357/169630
这篇关于PHP Pear安装程序卡在21%的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!