PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » PEAR » PEAR » Bug #1194

pear manager install crashing: Undefined class name 'pear'

Details

Submitted2004-04-13 11:11 UTC
Fromsod at cerera dot net
Assignedpajoye
StatusClosed
PackagePEAR
PHP Version4.3.4
OSfreebsd 5.2.1
Roadmaps(Not assigned)

Comments

[2004-04-13 11:11 UTC] sod at cerera dot net

Description:
------------
pear manager install crashed doing "lynx -source http://go-pear.org/ | php " with error:
Fatal error: Undefined class name 'pear' in /usr/services/php/bin/- on line 681

[2004-04-13 13:45 UTC] dev at bruley dot org

I have the same error on RedHat 8.0. For me, it comes from an error cause by my proxy, it needs an authentification ... (of course i set my env and use lynx -pauth)

Here the response from my proxy, and then the error :

Bootstrapping: PEAR...................(remote) <HTML><HEAD><TITLE>Proxy authorization required</TITLE></HEAD>
<BODY><H1>Proxy authorization required</H1>
Username authentication is required for using this proxy.
Either your browser does not perform proxy authorization, or your
authorization has failed.
</BODY></HTML>ok
Bootstrapping: Archive_Tar............(remote) ok
Bootstrapping: Console_Getopt.........(remote) ok
Downloading package: DB...............ok
Downloading package: Net_Socket.......ok
Downloading package: Net_SMTP.........ok
Downloading package: Mail.............ok
Downloading package: XML_Parser.......ok
Downloading package: PHPUnit..........ok

Fatal error: Undefined class name 'pear' in - on line 681

[2004-04-14 00:24 UTC] RaffyKaloustian at mac dot com

Also on... OS: MacOS X 10.3.3, PHP: 4.3.4

PEAR installation error:

Fatal error: Undefined class name 'pear' in - on line 681

Similar results from command-line and browser
installations.

[2004-04-14 10:54 UTC] abcnav at yahoo dot com

Same problem on my redhat 8.0 with php 4.2.2

[2004-04-15 07:23 UTC] paj at pearfr dot org

> Proxy authorization required

Do you have your proxy settings? (gopear asks for the proxy settings)

> (of course i set my env and use lynx -pauth)

That "fixes" lynx http access not php.

pierre

[2004-05-16 15:39 UTC] paj at pearfr dot org

Please try using the latest releases.

--Pierre

[2006-03-11 02:31 UTC] harneet_s at coolgoose dot com

Problem resolved after downloading & overwritinh old go-pear.php with new one from go-pear.org