Re: Re: second/custom PEAR/PECL installation. possible? how?
| From: | Jochem Maas | Date: | Wed, 06 Jun 2007 18:27:24 +0000 |
| Subject: | Re: Re: second/custom PEAR/PECL installation. possible? how? | ||
| References: | 1 2 3 4 | Groups: | php.general php.pear.general |
| Request: | Send a blank email to php-general+get-256210@lists.php.net to get a copy of this message | ||
Greg Beaver wrote:
> Eric Butera wrote:
>
>> My work machine is a OS X iMac that has Apple's php4 standard, plus I
>> have a php4 and php5 custom compiled myself. I've been able to issue
>> sudo /path/to/php4/bin/pear or /path/to/php5/bin/pear and that
>> installs the packages correctly for each version that I want.
>> Apparently this practice is completely wrong given that long string of
>> commands seen above.
I'll still have to actually install pear/pecl for my custom php5 install,
given that it was installed without pear to begin with.
>
> Hi Eric,
>
> For defaults, PEAR relies on a number of constants, including
> PHP_SYSCONFDIR and PHP_LIBDIR. If these are in fact different for php4
> and php5, then yes, your PEAR will "just work" without change.
>
> So no, that practice is completely right :)
>
> I had forgotten this is a possibility, so you might just try it out
> Jochem and see if it works.
I will definitely look into it. either way I now have a better solution
than baking & installing APC by hand.
thanks to everyone for their input.
>
> Greg
>