|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56322 fatal error in go-pear.php
Submitted: 2005-02-23 13:08 UTC Modified: 2005-02-24 10:12 UTC
From: rizzol at gmail dot com Assigned: cellog (profile)
Status: Closed Package: PECL website (PECL)
PHP Version: 4.3.10 OS: linux
Private report: No CVE-ID: None
 [2005-02-23 13:08 UTC] rizzol at gmail dot com
Today I tried using go-pear to install pear in a local directory on a shared hosting account.

The go-pear script claims its version is:
go-pear,v 1.74 2005/02/21 00:58:30 cellog

I tried running the script using 
 $ lynx -source | php

And also by downloading the script and running locally.

Reproduce code:

Expected result:
I expected a pear to be installed in a directory named pear that was specified as the installation prefix.

Actual result:
A graphical indicator at the top of the page showed that installation was 70% complete.

Starting installation ...
Loading zlib: ok
Downloading package: PEAR-stable......ok
Downloading package: Archive_Tar-stable....ok
Downloading package: Console_Getopt-stable....ok
Downloading package: XML_RPC-stable....ok
Downloading package: Pager............ok
Downloading package: HTML_Template_IT....ok
Downloading package: Net_UserAgent_Detect....ok
Downloading package: PEAR_Frontend_Web-0.4....ok
Bootstrapping: PEAR...................(remote) ok
Bootstrapping: Archive_Tar............

Warning: mkdir(/tmp/gopekxNs4C/Archive): File exists in /home/otakuque/public_html/go-pear.php on line 622

(remote) ok
Bootstrapping: Console_Getopt.........

Warning: mkdir(/tmp/gopekxNs4C/Console): File exists in /home/otakuque/public_html/go-pear.php on line 639

(remote) ok

Fatal error: Undefined class name 'pear' in /home/otakuque/public_html/go-pear.php on line 675


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-23 14:04 UTC]
Please try again with 1.75
 [2005-02-24 10:12 UTC]
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PEAR better.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Aug 14 12:05:49 2022 UTC