Pear installation problem
[email protected] ("Primak Anatoliy - aprima")
| Newsgroups | php.pear.webmaster |
|---|---|
| Message-ID | <9B736790B24CE546A9C08867A2D6D84904C9BB2D@SMTMSX01.Corp.Acxiom.net> |
Hi, I'm having a problem with installation process on Windows I'm a beginner in PHP and just want to try stuff. I have PHP installed on my system and need to add the pear running the go-pear.bat and accepting the defaults. I'm getting the permission denied (rename): C:\php\peardev.bat permission denied (rename): C:\php\pecl.bat ERROR: commit failed No pear.bat file being created in PHP root dir: c:php Here is the stack trace. Could you please help. C:\php>go-pear.bat Are you installing a system-wide PEAR or a local copy? (system|local) [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:\php 2. Temporary directory for processing : C:\php\tmp 3. Temporary directory for downloads : C:\php\tmp 4. Binaries directory : C:\php 5. PHP code directory ($php_dir) : C:\php\pear 6. Documentation directory : C:\php\docs 7. Data directory : C:\php\data 8. User-modifiable configuration files directory : C:\php\cfg 9. Public Web Files directory : C:\php\www 10. Tests directory : C:\php\tests 11. Name of configuration file : C:\PHP\pear.ini 12. Path to CLI php.exe : C:\PHP\. 1-12, 'all' or Enter to continue: Beginning install... Configuration written to C:\PHP\pear.ini... Initialized registry... Preparing to install... installing phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.2.tar... installing phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.3.tar... installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.7.1.tar... installing phar://go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.2.tar... pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0) install ok: channel://pear.php.net/Archive_Tar-1.3.2 install ok: channel://pear.php.net/Console_Getopt-1.2.3 install ok: channel://pear.php.net/Structures_Graph-1.0.2 permission denied (rename): C:\php\pear.bat permission denied (rename): C:\php\peardev.bat permission denied (rename): C:\php\pecl.bat ERROR: commit failed ** WARNING! Old version found at C:\php, please remove it or be sure to use the new c:\php\pear.bat command The 'pear' command is now at your service at c:\php\pear.bat ** The 'pear' command is not currently in your PATH, so you need to ** use 'c:\php\pear.bat' until you have added ** 'C:\php' to your PATH environment variable. Run it without parameters to see the available actions, try 'pear list' to see what packages are installed, or 'pear help' for help. For more information about PEAR, see: http://pear.php.net/faq.php http://pear.php.net/manual/ Thanks for using go-pear! * WINDOWS ENVIRONMENT VARIABLES * For convenience, a REG file is available under C:\php\PEAR_ENV.reg . This file creates ENV variables for the current user. Double-click this file to add it to the current user registry. Press any key to continue . . . C:\php> ~~~~~~~~~~~~~~~~ Thank you ~Anatoliy AIM: anaprim *************************************************************************** The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system. Thank You. ****************************************************************************