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

From: Date: Tue, 02 Feb 2016 10:43:16 +0000
Subject: Bug #20988 [Com]: custom pearrc is not passeed by bin/pear to pearcmd
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-11308@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=20988&edit=1 ID: 20988 Comment by: ale.comp_06@xox.ch 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 Description: ------------ 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 issue: 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 https://pear.php.net/bugs/bug.php?id=20988&edit=1

« previous php.pear.bugs (#11308) next »