使用yum安装php5.3的方法:首先执行【rpm -Uvh xxx】命令下载并安装epel源及remi源;然后执行【yum --enablerepo=remi install php php-5.3】命令安装php即可。
具体方法:
(推荐教程:php视频教程)
1、安装remi及epel源
#下载并安装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
(相关推荐:php培训)
2、安装php
#如果已经安装php,请使用 yum --enablerepo=remi update php php-5.3 #如果未安装过php,请使用 yum --enablerepo=remi install php php-5.3
Copyright © 2019- atzq.com.cn 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务