CentOS under Yum upgrade PHP to 5.3 to upgrade MySQL to 5.5

Source: Internet
Author: User
Tags centos

This link is not guaranteed to be permanent and if it fails please go to rpm search to download the corresponding package.

1. Run the following command

#wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
#wget http://rpms.famillecollet.com/enterprise/5/remi/i386/remi-release-5-7.el5.remi.noarch.rpm
#rpm-UVH remi-release-5*.rpm epel-release-5*.rpm

2. Edit/etc/yum.repos.d/remi.repo
#vi/etc/yum.repos.d/remi.repo
At the end of this file, add a line:
Priority=1

Save exit.

/etc/yum.repos.d/epel.repo and/etc/yum.repos.d/epel-testing.repo These two files are also edited according to the above Method!

3, the use of the following command to upgrade, if the individual upgrade PHP will be prompted to fail, only together with MySQL upgrade can be, we must execute the following command to upgrade PHP to 5.3 version:

#yum –enablerepo=remi Update php* mysql*

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.