大网数据广告活动
服务器运维问答

Centos 8 in AWS - PHP install error

· 52CE 我爱测

When i try to install PHP with Remi repository i get the below error dnf module list php Remi's Modular repository for Enterprise Linux 8 - aarch64 Errors during downloading metadata for repository 'remi-modular': - Status code: …

问题原文

原帖链接 · mahen3d · CC BY-SA 4.0

When i try to install PHP with Remi repository i get the below error

         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)

If visit the page not found i get an error called

Only mirrorlist are served. Use https://rpms.remirepo.net/ for content.

Below is how i installed the 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

已采纳解答

原帖链接 · Michael Hampton · CC BY-SA 4.0

The Remi repository packages are currently built only for the x86_64 architecture, and not for aarch64. You will not be able to use remi packages on AWS Graviton instances until Remi chooses to build the packages for the aarch64 architecture.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-11-10)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。