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',);总结
以上是内存溢出为你收集整理的电子邮件 – 致命错误:在第697行的/home/user1/public_html/go-pear.php中找不到“PEAR”类全部内容,希望文章能够帮你解决电子邮件 – 致命错误:在第697行的/home/user1/public_html/go-pear.php中找不到“PEAR”类所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)