Re: Re: [PEPr] Comment on Encryption::Crypt_DES
| From: | till | Date: | Mon, 21 May 2007 22:31:10 +0000 |
| Subject: | Re: Re: [PEPr] Comment on Encryption::Crypt_DES | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-46849@lists.php.net to get a copy of this message | ||
On 5/21/07, Terra Frost <terrafrost@gmail.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:\your\pear\root\1 pear.conf This creates a configuration file with paths relativ to c:\your\pear\root\1 (adjust ;-)). Also, it may help if you don't just do "pear foo", but "c:\path1\pear 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