当我尝试使用 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)
如果未找到访问该页面,我会收到一个名为
仅提供镜像列表。使用https://rpms.remirepo.net/获取内容。
以下是我如何安装 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
Remi 存储库包目前仅针对 x86_64 架构构建,而不是针对 aarch64。在 Remi 选择为 aarch64 架构构建包之前,您将无法在 AWS Graviton 实例上使用 remi 包。