Centos 6/ 7下通过yum安装php7环境
删除之前的 php 版本
# yum remove php* php-common
rpm 安装 Php7 相应的 yum源
CentOS/RHEL 7.x:
# rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
CentOS/RHEL 6.x:
# rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
yum安装php7
# yum install php70w php70w-opcache
如果之前已经安装我们先卸载一下
yum -y remove php*
由于linux的yum源不存在php7.x,所以我们要更改yum源
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum 安装php72w和各种拓展,选自己需要的即可
yum -y install php72w php72w-cli php72w-common php72w-fpm php72w-devel php72w-embedded php72w-fpm php72w-gd php72w-mbstring php72w-mysqlnd php72w-opcache php72w-pdo php72w-xml
评论列表
匿名
Amazing a lot of helpful info. <a href=https://trustedwebpharmacy.com/>drugs from canada online</a> <a href=https://viaonlinebuyntx.com/>canada pharmacies</a>
2020-01-14 12:48:52
匿名
Wow quite a lot of awesome material. <a href="https://viagrapycharm.com/">buy viagra online</a>
2020-01-14 12:45:21
匿名
This is nicely put. . <a href="https://advair-coupons.com/">Advair Diskus Instructions Video</a>
2020-01-14 11:22:41
匿名
You actually stated it very well! <a href="https://buyviagrajit.com/">viagra pills</a>
2020-01-14 11:22:29
匿名
Appreciate it, A good amount of information! <a href="https://viaonlinebuymsn.com/">viagra without doctor prescription</a> <a href="https://drug-prednisone.com/">prednisone 20mg</a> <a href="https://ciaonlinebuymsn.com/">canada pharmacies online</a>
2020-01-14 09:51:03