[CentOS] PHP 5.2.5 when ?

John R Pierce pierce at hogranch.com
Mon Jan 14 08:14:08 UTC 2008


Anup Shukla wrote:
> Jim Perrin wrote:
>> On Jan 13, 2008 1:53 PM, Santa Claus <santa.claus.rpm at gmail.com> wrote:
>>
>>> Thanks to all who responded.
>>>  But I repeat the question:
>>> how to upgrade CentOS4 to PHP 5.2.5 correctly?
>>
>> There is no "correct" method for this, there are only "less wrong"
>> ways to do it.
>>
>>> 1. download form php.net + make ... etc.
>>
>> No. This method is not advisable at all, because it circumvents the
>> package management of the system. This point stands for every distro
>> with a package manager, not just centos.
>>
>
> I think 'make' to something like '/opt/php-5.2.5' would be "less wrong".
> At least that is where i keep my 'make'd apps.

apache has php dependencies, so you'll be replacing that too?  and, in 
turn, php has dependencies on dozens of other RPMs, like libraries, 
databases, yada yada.    it spirals out.



More information about the CentOS mailing list