Re: Multiple installations of PEAR for different versions of PHP
| From: | Christian Weiske | Date: | Fri, 22 Jun 2012 04:04:45 +0000 |
| Subject: | Re: Multiple installations of PEAR for different versions of PHP | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-31583@lists.php.net to get a copy of this message | ||
Hello Adam,
> I am using php 5.2.17, 5.3.14 and 5.4.4 for different projects. I
> needed to install pear for each project. I am using windows XP SP3
> In each folder I use command php go-pear.php to install pear. after
> installing pear I configure pear to use all directories within that
> folder by using command "pear config-set" but I can't change it to
> use pear.ini from php folder in which it is installed. It pick
> windows\pear.ini
>
> Is there a way to configure pear the way I want?
You have to you a separate "pear" command for each of them, which in
turn runs "pear -c /path/to/pear.conf" - this way, you'll always use
that special configuration.
--
Regards/Mit freundlichen Grüßen
Christian Weiske
-=≡ Geeking around in the name of science since 1982 ≡=-
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc