Bug #3563 [NEW]: fatal error in go-pear.php

From: Date: Wed, 23 Feb 2005 18:08:27 +0000
Subject: Bug #3563 [NEW]: fatal error in go-pear.php
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-5560@lists.php.net to get a copy of this message
From: rizzol at gmail dot com Operating system: linux PHP version: 4.3.10 Package: Documentation Bug Type: Bug Bug description: fatal error in go-pear.php 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 -- Edit bug report at http://pear.php.net/bugs/bug.php?id=3563&edit=1 --

« previous php.pear.doc (#5560) next »