Home » PEAR » PEAR » Bug #1194
pear manager install crashing: Undefined class name 'pear'
Details
| Submitted | 2004-04-13 11:11 UTC |
|---|---|
| From | sod at cerera dot net |
| Assigned | pajoye |
| Status | Closed |
| Package | PEAR |
| PHP Version | 4.3.4 |
| OS | freebsd 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