php环境搭建配置步骤:
一、软件及系统版本
系统下载地址:
软件包下载地址:http://xiazai.jb51.net/201611/yuanma/php+apache+mysql(jb51.net).rar
二、 下载软件包/换源
(1)下载安装需要软件包软件工具
yum install -y wget vim unzip zip
(2)换源
1、首先卸载以前装的 epel 以免影响
rpm -e epel-release
2、清空yum缓存
yum clean all
yum makecache
3、rm -rf /etc/yum.repos.d/*(执行此操作的时候记得事先装好wget 不然 你就得挂载光盘用rpm装wget了。)
4、下载阿里源
wget -P /etc/yum.repos.d/ http://mirrors.aliyun.com/repo/epel-6.repohttp://mirrors.aliyun.com/repo/Centos-6.repo
5、
yum repolist