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.