From: ("")
Date:  02 Feb 2016 18:43:16 Hong Kong Time

[PEAR-BUG] Bug #20988 [Com]: custom pearrc is not passeed by bin/pear to pearcmd

NNTP-Posting-Host:  null

Edit report at

 ID:               20988
 Comment by:
 Reported By:      ale dot comp_06 at xox dot ch
 Summary:          custom pearrc is not passeed by bin/pear to pearcmd
 Status:           Open
 Type:             Bug
 Package:          PEAR
 Operating System: os x / homebrew
 Package Version:  1.10.1
 PHP Version:      5.6.14
 Roadmap Versions: 
 New Comment:

Me still!

Previous Comments:

[2015-12-08 09:07:14] ale

after having successfully completed a pear install local to a project,
all ./bin/pear commands modify the system wide pear.

the peculiar part seem to be that i've set pearrc to be inside of the
project's include file.

adding a -c option to the pearcmd exec command in ./bin/pear solves the

exec $PHP -C -q $INCARG -d date.timezone=UTC -d output_buffering=1 -d
variables_order=EGPCS -d open_basedir="" -d safe_mode=0 -d
register_argc_argv="On" -d auto_prepend_file="" -d auto_append_file=""
$INCDIR/pearcmd.php  -c
/Users/ale/httpd/project_name/include/pear/pearrc "$@"

i guess that the go-pear.phar should add that option to the exec command
when tweaking the pear/bin/pear file.


Edit this bug report at