php.net |  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
Description:
------------
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 http://pear.php.net/go-pear | php

And also by downloading the script and running locally.

Reproduce code:
---------------
http://go-pear.org/

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-23 14:04 UTC] cellog@php.net
Please try again with 1.75
 [2005-02-24 10:12 UTC] cellog@php.net
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 pear.php.net.

In case this was a pear.php.net 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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 20:01:31 2024 UTC