php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39733 PEAR installation errors due to wrong go-pear.phar file
Submitted: 2006-12-04 17:05 UTC Modified: 2006-12-04 17:31 UTC
From: jonathan dot martens at gmx dot net Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 5.2.0 OS: Win XP SP 2
Private report: No CVE-ID: None
 [2006-12-04 17:05 UTC] jonathan dot martens at gmx dot net
Description:
------------
PEAR installation fails due to wrong g-pear.phar file. For more details see: http://pear.php.net/bugs/bug.php?id=9534

"When I try to install PEAR in PHP 5.2.0 (which by the way has been release on Nov 2nd, and is no RC anymore IMHO) using the go-pear.bat executable I get the results in the actual results section."

Resolution from cellog in PEAR bug tracker:
"Thank you for your report, this bug was caused by a fault  in the release process for PHP.

To install PEAR, download http://pear.php.net/go-pear.phar
and replace the go-pear.phar in your PEAR directory that came bundled with PHP 5.2.0."

Expected result:
----------------
Normal installtion of PEAR.

Actual result:
--------------
C:\Program Files\php\php-5.2.0>go-pear

Are you installing a system-wide PEAR or a local copy?
(system|local) [system] : system

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)   : C:\Program Files\php\php-5.2.0
 2. Binaries directory            : C:\Program Files\php\php-5.2.0
 3. PHP code directory ($php_dir) : C:\Program
Files\php\php-5.2.0\pear
 4. Documentation directory       : C:\Program
Files\php\php-5.2.0\pear\docs
 5. Data directory                : C:\Program
Files\php\php-5.2.0\pear\data
 6. Tests directory               : C:\Program
Files\php\php-5.2.0\pear\tests
 7. Name of configuration file    : C:\Program
Files\php\php-5.0.3\pear.ini
 8. Path to CLI php.exe           :

1-8, 'all' or Enter to continue: 7
(Use $prefix as a shortcut for 'C:\Program Files\php\php-5.2.0', etc.)
Name of configuration file [C:\Program Files\php\php-5.0.3\pear.ini] :
$prefix\p
ear.ini

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)   : C:\Program Files\php\php-5.2.0
 2. Binaries directory            : C:\Program Files\php\php-5.2.0
 3. PHP code directory ($php_dir) : C:\Program
Files\php\php-5.2.0\pear
 4. Documentation directory       : C:\Program
Files\php\php-5.2.0\pear\docs
 5. Data directory                : C:\Program
Files\php\php-5.2.0\pear\data
 6. Tests directory               : C:\Program
Files\php\php-5.2.0\pear\tests
 7. Name of configuration file    : C:\Program
Files\php\php-5.2.0\pear.ini
 8. Path to CLI php.exe           :

1-8, 'all' or Enter to continue: 8
php.exe (sapi: cli) found.


Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)   : C:\Program Files\php\php-5.2.0
 2. Binaries directory            : C:\Program Files\php\php-5.2.0
 3. PHP code directory ($php_dir) : C:\Program
Files\php\php-5.2.0\pear
 4. Documentation directory       : C:\Program
Files\php\php-5.2.0\pear\docs
 5. Data directory                : C:\Program
Files\php\php-5.2.0\pear\data
 6. Tests directory               : C:\Program
Files\php\php-5.2.0\pear\tests
 7. Name of configuration file    : C:\Program
Files\php\php-5.2.0\pear.ini
 8. Path to CLI php.exe           : C:\Program Files\php\php-5.2.0

1-8, 'all' or Enter to continue:
Beginning install...
Configuration written to C:\Program Files\php\php-5.2.0\pear.ini...
Initialized registry...
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/PEAR/
Command.php on line 268
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/PEAR/
Command.php on line 268
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/PEAR/
Command.php on line 268
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/PEAR/
Command.php on line 268
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/PEAR/
Command.php on line 268
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/PEAR/
Command.php on line 268
Preparing to install...
installing
phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.1.tar...
installing
phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.tar...
installing
phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.4.11.tar...

PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/Archi
ve/Tar.php on line 2334
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/Archi
ve/Tar.php on line 2338
Could not get contents of package "". Invalid tgz file.
Cannot initialize
'phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.1.t
ar', invalid or missing package file
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/Archi
ve/Tar.php on line 2334
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/Archi
ve/Tar.php on line 2338
Could not get contents of package "". Invalid tgz file.
Cannot initialize
'phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.
tar', invalid or missing package file
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/Archi
ve/Tar.php on line 2334
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/Archi
ve/Tar.php on line 2338
Could not get contents of package "". Invalid tgz file.
Cannot initialize
'phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.4.11.tar', i
nvalid or missing package file
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/PEAR/
Command/Install.php on line 427
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/PEAR/
Command/Install.php on line 427
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/PEAR/
Command/Install.php on line 427
PHP Warning:  Cannot use a scalar value as an array in
phar://go-pear.phar/PEAR/
Command/Install.php on line 429

install failed
Press any key to continue . . .

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-04 17:31 UTC] iliaa@php.net
This was a bug in the bundled pear, since package will not be 
made you either need to download new package from go-pear site 
or wait till next release of PHP.
 [2006-12-04 17:31 UTC] iliaa@php.net
This was a bug in the bundled pear, since package will not be 
made you either need to download new package from go-pear site 
or wait till next release of PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 01 04:01:30 2024 UTC