Re: PHP 5.2.5 when ?

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



John R Pierce wrote:
Anup Shukla wrote:
Jim Perrin 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.
_______________________________________________

Yes, i have been bitten by this.
But at times you are left with no option.
I *needed* 5.2.x and so had to compile and install
apache and php both.

In addition, since php wont compile with the available mysql,
i had to put a copy (static) of the same.

And then it was the extensions and a plethora of other things.

It was more work than what i would like to put in.

But given the situation that i *must* compile something on my own,
i think its better to put it in "/opt" or something similar.

--
Regards,
Anup Shukla
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux