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

Bug #6331 PEAR Does Not Install
Submitted: 2005-12-22 18:09 UTC
From: michael dot avila dot 1 at sbcglobal dot net Assigned:
Status: Bogus Package: PEAR
PHP Version: 4.4.1 OS: WinXP Pro SP2
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 : 24 + 42 = ?

 
 [2005-12-22 18:09 UTC] michael dot avila dot 1 at sbcglobal dot net
Description: ------------ When installing PEAR under PHP 4.4.1 the pear installation installs improperly. When I try to use it the return error says that either the pear path is blank or the pear path has an extra /pear in it. I am not proficent enough to make changes to fix this. I have tried the installation more than 5 times. One thing I did notice is that the pear installation for PHP 4.4.1 has PHP version 5 in the scripts. I know that PHP 4 and 5 have a different directory structure. Expected result: ---------------- I expected to be able to use pear to install pear packages. Actual result: -------------- I get an error that the pear path is blank or has an extra /pear in it. I installed several times and one of those 2 results occur after the installation.

Comments

 [2006-01-29 00:31 UTC] cellog
We need more information. Please attach a cut/pasted output of what you see on installation
 [2006-02-08 18:19 UTC] michael dot avila dot 1 at sbcglobal dot net
I just tried to instrall it again and it seemed to work. I execute pear and cannot get any commands to work. D:\php\PEAR>pear upgrade-all Warning: array_shift(): The argument should be an array in pearcmd.php on line 5 4 Console_Getopt: Could not read cmd args (register_argc_argv=Off?) Commands: build Build an Extension From C Source bundle Unpacks a Pecl Package clear-cache Clear XML-RPC Cache config-get Show One Setting config-help Show Information About Setting config-set Change Setting config-show Show All Settings cvsdiff Run a "cvs diff" for all files in a package cvstag Set CVS Release Tag download Download Package download-all Downloads each available package from master_server info Display information about a package install Install Package list List Installed Packages list-all List All Packages list-upgrades List Available Upgrades login Connects and authenticates to remote server logout Logs out from the remote server makerpm Builds an RPM spec file from a PEAR package package Build Package package-dependencies Show package dependencies package-validate Validate Package Consistency remote-info Information About Remote Packages remote-list List Remote Packages run-tests Run Regression Tests search Search remote package database shell-test Shell Script Test sign Sign a package distribution file uninstall Un-install Package upgrade Upgrade Package upgrade-all Upgrade All Packages Usage: pear [options] command [command-options] <parameters> Type "pear help options" to list all options. Type "pear help shortcuts" to list all command shortcuts. Type "pear help <command>" to get the help for the specified command. D:\php\PEAR> I always get the same error about Warning: array_shift(): The argument should be an array in pearcmd.php on line 5 no matter what I do. I have not looked at this new error in detail due to time constraints.
 [2006-02-08 18:30 UTC] cellog
turn on register_argc_argv in php.ini or use the cli version of php