CentOS Server Upgrade php5.1 to version 5.2 separately

Source: Internet
Author: User
Tags centos server

Introduction: As Friends of the CentOS 5.5 system know, Yum has the default PHP version of php5.1, and if we want to use the latest stable version (php5.2.x series), we have to compile the installation.
Here's how you can use Yum to install the PHP version you need!
The following operations are performed at the terminal command line!
RPM--import Http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy
Wget-p/etc/yum.repos.d/http://repo.webtatic.com/yum/webtatic.repo
Yum--enablerepo=webtatic list php #发现有php5.2 and php5.3 can be upgraded
Yum--enablerepo=webtatic--exclude=php*5.3* list php #查看php5.2 packages
Yum--enablerepo=webtatic--exclude=php*5.3* update-y php #安装php5.2 version
Note: Option--exclude=php*5.3* #禁止升级为php5.3 version

CentOS Server Upgrade php5.1 to version 5.2 separately

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.