CentOS5 two ways to install PHP5.3 using Yum This article introduces how to upgrade php5.1 to the current mainstream version php5.3.php5.1 and php5.2 and above in CentOS5, new versions include json extensions. let's get started. use Yum to install PHP5.3 in a 32-bit CentOS5 system.
This article introduces how to upgrade php5.1 to the current mainstream version php5.3. php5.1 in CentOS5. *, which is different from php5.2 and later versions, such as the json extension added to the new version.
Let's start. take a 32-bit system as an example.
Method 1: Use remi and epel to upgrade php
[Step 1: install remi and epel sources]
# Download and install epel Source rpm-Uvh unzip-Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
About epel:If you want to get RHEL's high-quality, high-performance, high-reliability, and easy-to-use (the key is free) software package update function, the EPEL (Extra Packages for Enterprise Linux) launched by the Fedora Project) this is exactly for you. EPEL (http://fedoraproject.org/wiki/EPEL) is a program built by the Fedora community to provide high-quality software packages for RHEL and derivative releases such as CentOS and Scientific Linux
Remi:The remi software source provides the latest software support for the old fedora version, and can also provide the latest software for Centos and RHEL.
[Step 2: install php]
# If php has been installed, use yum -- enablerepo = remi update php-* # If php has not been installed, use yum -- enablerepo = remi install php -*
**************************************** ************************** **************************
For more information, see CentOS5. use Yum to install PHP5.3.
Method 2: upgrade php with webtatic source
[Step1. install the webtatic source]
Rpm-Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
About webtatic: mainly provides the latest LAMP and other software sources, supports Cent OS5, 6. The source Cent OS 5.x can be php 5.2 or php 5.3.
[Step 2: install php]
Yum -- enablerepo = webtatic install php -*
**************************************** ****
* Author: Ye Wentao
* Link: CentOS5 two methods for installing PHP5.3 using Yum
* ***************** For reprinting, please indicate the source ***************