先是是执行了
sudo dnf update
sudo dnf upgrade
然后没有显示需要更新,于是下一步
sudo dnf install -y epel-release
但是报错
No match for argument: epel-release
Error: Unable to find a match: epel-release
所以下一步
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf install -y http://rpms.remirepo.net/enterprise/remi-release-8.rpm
sudo dnf install -y dnf-utils
以为错误解决,于是下一步
dnf install -y dnf-utils
然而又报错
Remi's Modular repository for Enterprise Linux 8 - s390x 98 B/s | 131 B
Errors during downloading metadata for repository 'remi-modular':
- Status code: 403 for http://cdn.remirepo.net/enterprise/8/modular/s390x/mirror (IP: 176.31.103.194)
Error: Failed to download metadata for repo 'remi-modular': Cannot prepare internal mirrorlist: Status code: 403 for http://cdn.remirepo.net//8/modular/s390x/mirror (IP: 176.31.103.194)
至此本人无法解决,请问各位大佬如何解决此问题以安装 PHP ?