How to individually upgrade PHP 5.1 to 5.2 or later in CentOS

Source: Internet
Author: User
Keywords Php centos individually upgraded
Tags aliyun centos configure get higher how to html install

After we install and configure the server, we often need to maintain the current resources and some upgrades, and some new features also require a new version of support, today we try to upgrade the wizard CentOS separately PHP 5.1 to 5.2 or higher version of the current phphttp:// Www.aliyun.com/zixun/aggregation/6274.html "> The latest stable version of the official release for PHP 5.4.9, you can get through the following links!

PHP 5.4.9 (current stable)

PHP 5.4.9 (TAR.BZ2) [10,883KB]-Modified 2012
Md5:076a9f84d861d3f664a2878d5773ba78 PHP 5.4.9 (tar.gz) [13,722KB]-Modified 2012
md5:e1ac28e1cf20738f0aeeba8261aa4537 Windows 5.4.9 binaries and source

PHP 5.3.19 (Old Stable)

PHP 5.3.19 (TAR.BZ2) [11,093KB]-Modified 2012
MD5:E1D2A3EC7849D4B3032BD1ABF1916AA4 PHP 5.3.19 (tar.gz) [14,545KB]-Modified 2012
MD5:E1BCDA4F14BB39BA041297ABBF18F8D1 Windows 5.3.19 binaries and source

If you are compiling and installing PHP 5.3 and above directly in a new environment, you can ignore the following! ^_^

Okay, let's see how we can upgrade PHP 5.1 to 5.2.

The procedure is as follows:

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

Found php5.2 and php5.3 can be upgraded,

Yum--enablerepo=webtatic--exclude=php*5.3* list php

Yum--enablerepo=webtatic--exclude=php*5.3* update-y php

Note: Option--exclude=php*5.3* is to prevent upgrade to version 5.3

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.