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