Bug #20262 [Com]: Installation error: "Fatal error: Class 'PEAR' not found"

From: Date: Fri, 19 Jun 2015 22:34:08 +0000
Subject: Bug #20262 [Com]: Installation error: "Fatal error: Class 'PEAR' not found"
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-11275@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=20262&edit=1 ID: 20262 Comment by: tandyuk Reported By: admin at tandyukservers dot co dot uk Summary: Installation error: "Fatal error: Class 'PEAR' not found" Status: Open Type: Bug Package: pearweb_gopear Operating System: CentOS release 6.5 Package Version: 1.1.7 PHP Version: 5.4.28 New Comment: Just encountered this same issue, using a customised package which downloads and runs the latest go-pear and auto installs a few modules. Personally I fixed this temporarily with a str_replace('github.com','githubusercontent.com'); Previous Comments: ------------------------------------------------------------------------ [2014-05-03 04:15:48] furyutei Description: ------------ When I ran the PEAR Installer in my browser(Google Chrome), "Fatal error: Class 'PEAR' not found" occurred. I think, that is because download_url() in go-pear.php does not support redirection, so fail to download the bootstrap files. e.g.) https://raw.github.com/pear/pear-core/master/PEAR5.php (301 Moved Permanently) => https://raw.githubusercontent.com/pear/pear- core/master/PEAR5.php I fixed this problem temporarily. https://github.com/furyutei/go- pear/commit/5b111f3a50bb0635e6f7d6310d56bb5ea2a885d2 #diff-d7a5116813413fea60a1b3dab031e4d2 Actual result: -------------- Installation in progress ... : 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 /path/to/go-pear/go- pear.php on line 697 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=20262&edit=1

« previous php.pear.bugs (#11275) next »