Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #9534 PEAR installation errors
Submitted: 2006-12-04 14:05 UTC
From: jonathan dot martens at gmx dot net Assigned:
Status: Bogus Package: PEAR (version 1.4.11)
PHP Version: 5_2 CVS-2006-12-04 OS: Win XP SP2
Roadmaps: (Not assigned)    
Subscription  


 [2006-12-04 14:05 UTC] jonathan dot martens at gmx dot net (Jonathan)
Description: ------------ 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. 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 . . .

Comments

 [2006-12-04 15:25 UTC] cellog (Greg Beaver)
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. I regret the problems you're having. I am marking this bug bogus, as PEAR has no issue, the PHP release process was at fault. http://bugs.php.net is where bugs are reported for the PHP release process. Thanks, and let me know if there is anything else we can do to help.
 [2006-12-04 17:05 UTC] jonathan dot martens at gmx dot net
Reported in the PHP bug tracker: http://bugs.php.net/39733
 [2006-12-11 10:35 UTC] jonathan dot martens at gmx dot net
> 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. I regret the problems > you're having. If I download the go-pear.phar file I get errors while the file is a html file. Therefore I have opened the URL and copy-paste the code in a text file and named that go-pear.phar. But when I try to install I get the following error: C:\Program Files\php\php-5.2.0>go-pear ERROR: manifest length read was "3263554" should be "138414881"Press any key to continue . . . > Reported in the PHP bug tracker: > http://bugs.php.net/39733 The PHP guys are not very cooperative... they have marked the bug as bogus stating that I have to use the work around or have to wait for the next release of PHP :-(
 [2006-12-11 13:07 UTC] jonathan dot martens at gmx dot net
Solved the problem by extracting the go-pear.phar file from the 5.1.6 windows binary release from the php site (http://www.php.net/get/php-5.1.6-Win32.zip/from/a/mirror)
 [2006-12-24 18:57 UTC] cellog (Greg Beaver)
bogus as this is a php release issue