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

Tue Jul 3 18:57:33 UTC 2007
Devin Henderson <devin.lists at gmail.com>

Sorry, that should be 'yum update' not 'yum upgrade'. My bad :(


On 7/3/07, Devin Henderson <devin.lists at gmail.com> wrote:
> See here:
>
> http://wiki.centos.org/Repositories/CentOSPlus
>
> Basically you just enable the centosplus repo, add include=php* mysql*
> under the centosplus repo in /etc/yum.repos.d/CentOS-Base.repo and add
> exclude=php* mysql* to the base and updates repos. Then do a yum
> upgrade and you should be in business.
>
> If you also upgrade mysql to v.5 with centosplus don't forget to run
> the 'mysql_upgrade' command after doing the yum upgrade.
>
> Regards,
> Devin
>
>
> On 7/3/07, Rogelio Bastardo <scubacuda at gmail.com> wrote:
> >
> > > To do this, you'd issue a command like 'yum --enablerepo centosplus
> > > install php php-pear'
> >
> >
> > Thanks!  I'm reading over all the details on the following URL:
> >
> >  http://mirror.centos.org/centos/4/centosplus/Readme.txt
> >
> > This section was especially helpful:
> >
> >
> > -------------------------
> >  php-5.x.x-x.centos4
> > -------------------------
> > This is php-5 for CentOS-4. It replaces the php-4.3.9 that is currently
> > in CentOS-4.  In order to upgrade a current php-4 install, you must
> > remove php-domxml first and then do:
> >
> > yum --enablerepo=centosplus upgrade php*
> >
> > or to do and install, use this command:
> >
> > yum --enablerepo=centosplus --exclude=php-domxml install php*
> >
> > (or install individually the files that you need)
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> >
>