Re: Re: second/custom PEAR/PECL installation. possible? how?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux