From:             jonathan dot martens at gmx dot net
Operating system: Win XP SP 2
PHP version:      5.2.0
PHP Bug Type:     Unknown/Other Function
Bug description:  PEAR installation errors due to wrong go-pear.phar file

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 . . .

-- 
Edit bug report at http://bugs.php.net/?id=39733&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39733&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39733&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39733&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39733&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39733&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39733&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39733&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39733&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39733&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39733&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39733&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39733&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39733&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39733&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39733&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39733&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39733&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39733&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39733&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39733&r=mysqlcfg

Reply via email to