CentOS 7 yum安装 PHP7.1 记录

1、首先安装 EPEL 源:

yum install epel-release

2、安装 REMI 源:

yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm  

3、安装 Yum 源管理工具:

yum install yum-utils

4、查看可安装的php版本

yum repolist all | grep php

5、安装php7.1

yum-config-manager --enable remi-php71

6、查看安装结果

php -v

 

参考:

https://blog.csdn.net/laohe08/article/details/93166590

https://www.mf8.biz/centos-rhel-install-php7-3/

你可能感兴趣的:(php)