PHP Pear Installer stuck at 21%

此生再无相见时 提交于 2020-01-03 19:00:43

问题


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!


回答1:


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



来源:https://stackoverflow.com/questions/26815526/php-pear-installer-stuck-at-21

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!