Centos Upgrade php 5.1 to 5.2 or later

Source: Internet
Author: User
Tags windows 5

After installing and configuring the server, we usually need to maintain and upgrade the current resources. In addition, some new functions also need support from the new version, today, we try to Upgrade php 5.1 to 5.2 or later versions separately in wucentos. The latest stable version officially released by PHP is PHP 5.4.9. You can get it through the following link!

PHP 5.4.9 (Current stable)

PHP 5.4.9 (tar.bz2) [10,883 Kb]-22 Nov 2012
Md5: 076a9f84d861d3f664a2878d5773ba78
PHP 5.4.9 (tar.gz) [13,722 Kb]-22 Nov 2012
Md5: e1ac28e1cf20738f0aeeba8261aa4537
Windows 5.4.9 binaries and source
PHP 5.3.19 (Old stable)

PHP 5.3.19 (tar.bz2) [11,093 Kb]-22 Nov 2012
Md5: e1d2a3ec7849d4b3032bd1abf1916aa4
PHP 5.3.19 (tar.gz) [14,545 Kb]-22 Nov 2012
Md5: e1bcda4f14bb39ba041297abbf18f8d1
Windows 5.3.19 binaries and source
If you compile and install PHP 5.3 or later in the new environment, you can ignore the following content! Pai_^

Okay. Let's see how to 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

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 used to disable upgrade to version 5.3.

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.