List Info

Thread: Re: Comment on Encryption::Crypt_DES




Re: Comment on Encryption::Crypt_DES
user name
2007-05-21 16:38:32
Chuck Burgess wrote:
> <snip>
>
> It will update whichever one you are working with based
on which 
> "pear" you
> are running, based on your PATH...
I have PEAR installed at c:php and c:pear.  I open a
command prompt in 
the c:php directory and run "pear config-update
bin_dir c:php".  I 
then run "pear config-show" in the c:pear
directory and I see that the 
bin_dir there has been updated, as well.  I don't want every
single PEAR 
installation to use the same directory.  This is the whole
reason I have 
multiple PEAR installations, anyway.

I run "echo %PATH%" and *neither* so c:php and
c:pear are in %PATH%.  
So how does it depend on my PATH?  What PATH are you talking
about?

Also, I'm still forced to wonder what on earth the point of
the local 
installation is when my local installations use global
parameters, near 
as I can tell.

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


Re: Comment on Encryption::Crypt_DES
user name
2007-05-21 17:31:10
On 5/21/07, Terra Frost <terrafrostgmail.com> wrote:
> Chuck Burgess wrote:
> > <snip>
> >
> > It will update whichever one you are working with
based on which
> > "pear" you
> > are running, based on your PATH...
> I have PEAR installed at c:php and c:pear.  I open a
command prompt in
> the c:php directory and run "pear config-update
bin_dir c:php".  I
> then run "pear config-show" in the c:pear
directory and I see that the
> bin_dir there has been updated, as well.  I don't want
every single PEAR
> installation to use the same directory.  This is the
whole reason I have
> multiple PEAR installations, anyway.
>
> I run "echo %PATH%" and *neither* so c:php
and c:pear are in %PATH%.
> So how does it depend on my PATH?  What PATH are you
talking about?
>
> Also, I'm still forced to wonder what on earth the
point of the local
> installation is when my local installations use global
parameters, near
> as I can tell.

If you have a "pear" in each directory, try
setting the system
configuration file for each to another value.

In general, I think what you are trying is doable (I've
never had the
need myself), but you first need to seperate the
"pear" commands -
e.g. by providing different system configuration files to
read a
config from.

Issue this:
pear config-create -w c:yourpearroot1 pear.conf

This creates a configuration file with paths relativ to
c:yourpearroot1 (adjust ).

Also, it may help if you don't just do "pear foo",
but "c:path1pear
foo". But that's just a wild guess. In general,
"pear help", "pear
config-create help" etc. gives you plenty of info.

Hope that helps,
Till

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )