Hi, I my new to php. I install php with Apache 2.2 and is working ok. I am getting install error in installing Pear. I install php 5.2 in the c:\php folder. I run the go-pear.bat with the following output: Please can someone help?
Output:: 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:\PHP 2. Binaries directory : C:\PHP 3. PHP code directory ($php_dir) : C:\PHP\pear 4. Documentation directory : C:\PHP\pear\docs 5. Data directory : C:\PHP\pear\data 6. Tests directory : C:\PHP\pear\tests 7. Name of configuration file : C:\PHP\pear.ini 8. Path to CLI php.exe : C:\PHP\. 1-8, 'all' or Enter to continue: Beginning install... Configuration written to C:\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/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 . . .