Re: PEAR installation error
| From: | Alistair Tweed | Date: | Tue, 02 Jan 2007 19:50:28 +0000 |
| Subject: | Re: PEAR installation error | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26246@lists.php.net to get a copy of this message | ||
Hi Greg!
Thanks so much for getting back to me so quickly! Much appreciated.
I did as you suggested and tried to re-run go-pear.bat but got the following
message:
ERROR: manifest length read was "3263556" should be "138414881"
Press any key to continue . . .
I did a compare of the two files and the new one looks good.
Any further suggestions or assistance from your good self or anyone
else would be great.
Thanks in advance,
Alistair
On 1/2/07, Gregory Beaver <greg@chiaraquartet.net> wrote:
Hi Alistair, There was a snafu in the PHP release process, PHP 5.2.0 shipped with an outdated go-pear.phar for some reason, you can fix this by downloading http://pear.php.net/go-pear.phar and saving it as PEAR/go-pear.phar in the unzipped windows distribution. Then, when you run go-pear.bat it will install properly. The pear-general@lists.php.net mailing list is a great resource for installation questions, and also general PEAR questions once you get it successfully installed. Good luck, Greg Alistair Tweed wrote: Hi! I am keen to install PEAR and start using it, but encounter the same error on two different XP machines and would be extremely grateful for any help you can offer. Please see below for an account of the error. Best Regards and thanks in advance, Alistair ------ Are you installing a system-wide PEAR or a local copy? (system|local) [system] : local Please confirm local copy by typing 'yes' : yes 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:\server\PHP2. Binaries directory : C:\server\PHP3. PHP code directory ($php_dir) : C:\server\PHP\pear4. Documentation directory : C:\server\PHP\pear\docs 5. Data directory : C:\server\PHP\pear\data 6. Tests directory : C:\server\PHP\pear\tests 7. Name of configuration file : C:\server\PHP\pear.ini 8. Path to CLI php.exe : C:\server\PHP\.1-8, 'all' or Enter to continue: Beginning install... Configuration written to C:\server\PHP\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 /Arch ve/Tar.php on line 2334 PHP Warning: Cannot use a scalar value as an array in phar://go- pear.phar /Arch 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. ar', invalid or missing package file PHP Warning: Cannot use a scalar value as an array in phar://go- pear.phar /Arch ve/Tar.php on line 2334 PHP Warning: Cannot use a scalar value as an array in phar://go- pear.phar /Arch 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 /Arch ve/Tar.php on line 2334 PHP Warning: Cannot use a scalar value as an array in phar://go- pear.phar /Arch 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', 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 . . .