CentOS5.x system yum upgrade php to 5.2.x (test available)

Source: Internet
Author: User
CentOS5.x system yum upgrade php to 5.2.x (test available)

  1. # Rpm -- import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

# Vi/etc/yum. repos. d/CentOS-Base.repo add the following information

  1. [Utterramblings]
  2. Name = Jason's Utter Ramblings Repo
  3. Baseurl = http://www.jasonlitka.com/media/el?releasever/?basearch/
  4. Enabled = 1
  5. Gpgcheck = 1
  6. Gpgkey = http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

Run the command to automatically upgrade the instance.

  1. Yum update php-y
  2. Yum install libmcrypt-y

It has been verified that it is possible.

When an error occurs, consider the following solution.

Method 1: change the url

  1. Rpm -- import http://apt.sw.be/RPM-GPG-KEY.dag.txt

Method 2: download the package from the network to your local computer before installing the package.

  1. Wget http://apt.sw.be/RPM-GPG-KEY.dag.txt
  2. Rpm -- import RPM-GPG-KEY.dag.txt

The above two methods can be used after testing.

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.