PHP安装错误

分享于 

1分钟阅读

互联网

  繁體

问题:

当我尝试用Remi存储库安装PHP时,我得到以下错误


 dnf module list php


 Remi's Modular repository for Enterprise Linux 8 - aarch64 


 Errors during downloading metadata for repository 'remi-modular':


 - Status code: 403 for http://cdn.remirepo.net/enterprise/8/modular/aarch64/mirror (IP: 176.31.103.194)


 - Status code: 403 for http://cdn.remirepo.net/enterprise/8/modular/aarch64/mirror (IP: 195.154.241.117)


 Error: Failed to download metadata for repo 'remi-modular': 


 Cannot prepare internal mirrorlist: Status code: 403 for


http://cdn.remirepo.net/enterprise/8/modular/aarch64/mirror (IP: 176.31.103.194)



下面是我如何安装Remi


dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm


yum update


dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm




答案1:

Remi存储库软件包当前仅针对x86_64体系结构而不是aarch64构建。您将无法在AWS Graviton实例上使用remi软件包



PHP