Fatal error: Class 'PEAR' not found in /home/user1/public_html/go-pear.php on line 697

前端 未结 4 1480
执笔经年
执笔经年 2020-12-18 01:42

When trying to install PEAR by running go-pear.php (from the root of a cPanel GoDaddy hosted account), I get the following error:

4条回答
  •  太阳男子
    2020-12-18 02:22

    I had the same error, and managed to solve it replacing the links stored in $bootstrap_files to :

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

提交回复
热议问题