提示公钥尚未安装
yum -y install php71w php71w-cli php71w-common php71w-devel php71w-embedded php71w-gd php71w-mcrypt php71w-mbstring php71w-pdo php71wxml php71w-fpm php71w-mysqlnd php71w-opcache php71w-pecl-memcached php71wpecl-redis php71w-pecl-mongodb
重新下载 epel-release
软件包:
[root@web02 nginx]# yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
尝试导入 GPG 公钥:
[root@web02 nginx]# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
再次尝试执行安装 epel-release
的命令:
[root@web02 nginx]# yum install epel-release
再次安装
[root@web02 nginx]# yum install php71w php71w-cli php71w-common php71w-devel php71w-embedded php71w-gd php71w-mcrypt php71w-mbstring php71w-pdo php71wxml php71w-fpm php71w-mysqlnd php71w-opcache php71w-pecl-memcached php71wpecl-redis php71w-pecl-mongodb
标签:epel,pecl,安装包,nginx,yum,php71w,php,安装,web02 From: https://www.cnblogs.com/wangyinlu0511/p/17680789.html