instructions for testing install-pear.phar
| From: | Greg Beaver | Date: | Sat, 20 Aug 2005 18:56:31 +0000 |
| Subject: | instructions for testing install-pear.phar | ||
| Groups: | php.pear.qa | ||
| Request: | Send a blank email to pear-qa+get-2913@lists.php.net to get a copy of this message | ||
OK, I took a minute to investigate install-pear.phar
This script works like so:
$ php install-pear.phar Blah.tgz package.xml Blah2.tar
this will instruct it to install Blah.tgz, package.xml and Blah2.tar
using the PEAR installer.
the -d option is used to set the php_dir location
the -b option is used to set the bin_dir location (for the pear binary)
otherwise, it will use the default values pulled from PEAR/Config.php.
So, if you have environment variables set, it will use those, otherwise
it uses default values like PHP_BINDIR etc.
I think this should be tweaked to (obviously) install the internal .tar
files, and will do that when I get a chance.
Greg
P.S. if Pierre or someone else with pear-core/ access would rather
manage this, be my guest, just drop me an email so I don't duplicate efforts