erwim 发表于 2021-4-9 15:36:09

PHP安装失败

lnmp1.7 1.8均遭遇php安装失败,后下载lnmp1.7 full安装,依旧提示失败。日志详见附件

Nginx: OK
MySQL: OK
Error: PHP install failed.
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.



erwim 发表于 2021-4-9 20:45:15

sudo yum update后,可以安装

licess 发表于 2021-4-9 20:46:08

Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/oniguruma-6.8.2-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7


GPG key retrieval failed: curl#37 - "Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7"
你系统上的epel估计有问题
可用编辑 /etc/yum.repos.d/epel.repo 查找 gpgcheck=1 替换为 gpgcheck=0 保存
也可以 wget http://mirrors.aliyun.com/epel/RPM-GPG-KEY-EPEL-7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
页: [1]
查看完整版本: PHP安装失败