Rogelio Bastardo
2007-Jul-03 17:16 UTC
[CentOS] best way to upgrade php4 -> php5 on CentOS?
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. Should I uninstall this old PHP4 package and then reinstall PHP5? Or is there some cool yum upgrade thing I might run? This is a VMware virtual box for testing, so I'm more concerned about learning what to do, rather than interrupting anything. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070703/4184af82/attachment.html>
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