gpt4 book ai didi

email - 第 697 行上的 fatal error : Class 'PEAR' not found in/home/user1/public_html/go-pear. php

转载 作者:行者123 更新时间:2023-12-04 00:25:53 35 4
gpt4 key购买 nike

尝试安装时 PEAR通过运行 go-pear.php (来自 cPanel GoDaddy 托管帐户的根目录),我收到以下错误:

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%s\n");



文件 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',
);

关于email - 第 697 行上的 fatal error : Class 'PEAR' not found in/home/user1/public_html/go-pear. php,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23472216/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com