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

Bug #6088 Cannot install PEAR via go-pear.bat
Submitted: 2005-11-27 17:14 UTC
From: jplock at yahoo dot com Assigned:
Status: Bogus Package: PEAR
PHP Version: 5.1.0 OS: Win2K
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 47 - 15 = ?

 
 [2005-11-27 17:14 UTC] jplock at yahoo dot com
Description: ------------ When running 'go-pear' at a DOS prompt, the PEAR install fails on PHP 5.1.0 with Apache 1.3.34 (see below). I have an include_path set to the PEAR folder in my php.ini (which is not c:\php5\pear), so the installer seems to be ignoring that. Test script: --------------- C:\Program Files\Apache Group\Apache\php>go-pear 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:\Program Files\Apache Group\Apache\php 2. Binaries directory : C:\Program Files\Apache Group\Apache\php 3. PHP code directory ($php_dir) : C:\Program Files\Apache Group\Apache\php\pear 4. Documentation directory : C:\Program Files\Apache Group\Apache\php\pear\docs 5. Data directory : C:\Program Files\Apache Group\Apache\php\pear\data 6. Tests directory : C:\Program Files\Apache Group\Apache\php\pear\tests 7. Name of configuration file : C:\WINNT\pear.ini 8. Path to CLI php.exe : C:\Program Files\Apache Group\Apache\php\. 1-8, 'all' or Enter to continue: Beginning install... Configuration written to C:\WINNT\pear.ini... Initialized registry... 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.5.tar... pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0) install ok: channel://pear.php.net/Archive_Tar-1.3.1 install ok: channel://pear.php.net/Console_Getopt-1.2 PHP Warning: PEAR_Installer_Role::require_once(PEAR/Installer/Role/Php.php): failed to open stream: Invalid argument in phar://go-pear.phar/PEAR/Installer/Role.php on line 80 PHP Fatal error: PEAR_Installer_Role::require_once(): Failed opening required 'PEAR/Installer/Role/Php.php' (include_path='.;C:\php5\pear') in phar://go-pear.phar/PEAR/Installer/Role.php on line 80 Press any key to continue . . .

Comments

 [2005-11-29 14:18 UTC] jplock at yahoo dot com
I copied over my PEAR folder from a 5.0.5 install and fixed my problem.
 [2006-01-06 15:11 UTC] thierry dot lach at bbdodetroit dot com
I'm having the same problem. Copying pear directory from a 5.0.5 installation is not an acceptible solution for a new install since it requires actually doing two installs.