[CentOS] best way to upgrade php4 -> php5 on CentOS?

Jim Perrin jperrin at gmail.com
Tue Jul 3 17:29:05 UTC 2007

On 7/3/07, Rogelio Bastardo <scubacuda at gmail.com> wrote:
> What is the best way to upgrade PHP4 to PHP5 on CentOS? I see from "rpm -qa"
> that I'm running PHP-4.3.9.

php5 is not part of the base distribution for centos4. You can upgrade
to centos5, which is more current in terms of software versioning. Or
you can install php5 from the centosplus repository.

To do this, you'd issue a command like 'yum --enablerepo centosplus
install php php-pear'

During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

More information about the CentOS mailing list