Home  >  Article  >  Backend Development  >  How to use yum to install php5.3

How to use yum to install php5.3

王林
王林Original
2020-08-27 15:29:182690browse

How to install php5.3 using yum: First execute the [rpm -Uvh xxx] command to download and install the epel source and remi source; then execute the [yum --enablerepo=remi install php php-5.3] command to install php is enough.

How to use yum to install php5.3

Specific method:

(Recommended tutorial: php video tutorial)

1. Installation remi and epel source

#下载并安装epel源  
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
#下载并安装remi源  
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

(Related recommendations: php training)

2. Install php

#如果已经安装php,请使用  
yum --enablerepo=remi update php php-5.3
#如果未安装过php,请使用  
yum --enablerepo=remi install php php-5.3

The above is the detailed content of How to use yum to install php5.3. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn