Re: best way to upgrade php4 -> php5 on CentOS?

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



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


On 7/3/07, Devin Henderson <devin.lists@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
>

_______________________________________________
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