加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 资源网站 > 资源 > 正文

电子邮件 – 致命错误:在第697行的/home/user1/public_html/go-

发布时间:2020-12-14 18:35:01 所属栏目:资源 来源:网络整理
导读:当试图通过运行go-pear.php(从cPanel GoDaddy托管帐户的根目录)安装PEAR时,我收到以下错误: Starting installation … Loading zlib: ok Bootstrapping Installer………………. Bootstrapping PEAR5.php…………(remote) ok Bootstrapping PEAR.php…………
当试图通过运行go-pear.php(从cPanel GoDaddy托管帐户的根目录)安装PEAR时,我收到以下错误:

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

Fatal error: Class ‘PEAR’ not found in /home/alessio1/public_html/go-pear.php on line 697

line 697 is the following: PEAR::setErrorHandling(PEAR_ERROR_DIE,
“n%sn”);

go-pear.php文件是直接从http://pear.php.net/go-pear获取的,没有任何修改.

我究竟做错了什么?

解决方法

我有同样的错误,并设法解决它将$bootstrap_files中存储的链接替换为:
$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',);

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读