php環(huán)境搭建配置步驟:
一、軟件及系統(tǒng)版本
系統(tǒng)下載地址:
軟件包下載地址: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/*(執(zhí)行此操作的時候記得事先裝好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