centOS升级MYSQL至5.5,PHP到5.4

//安装remi源

[root@ebs-34024 ~]# rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

Retrieving http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

warning: /var/tmp/rpm-tmp.eJJjUR: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY

Preparing…                ########################################### [100%]

1:remi-release           ########################################### [100%]

导入KEY

[root@ebs-34024 ~]# rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-remi

升级MYSQL到5.5的时候也会升级PHP到5.4

[root@ebs-34024 ~]# yum –enablerepo=remi update mysql mysql-server