ID:               39733
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jonathan dot martens at gmx dot net
-Status:           Open
+Status:           Closed
 Bug Type:         Unknown/Other Function
 Operating System: Win XP SP 2
 PHP Version:      5.2.0
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[2006-12-04 17:05:08] 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 . . .


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39733&edit=1

Reply via email to