Amazon Linux 2023镜像不支持php7.3版本。

0

【以下的问题经过翻译处理】 在我的dockerfile中,我使用以下基本映像来构建我的应用程序映像。

FROM public.ecr.aws/amazonlinux/amazonlinux:latest

一旦基础映像版本从AMI2更改为2023版本,我的dockerfile无法构建大多数软件包,其中包括php7.3版本。它只支持版本8。

我能否获得有关如何在2023映像版本中安装版本7.3的任何帮助?

profile picture
EXPERT
asked 5 months ago55 views
1 Answer
0

【以下的回答经过翻译处理】 我在这里检查了文档,似乎包含了php 8.1。 https://docs.aws.amazon.com/ja_jp/linux/al2023/release-notes/new-packages.html 根据以下文件,Amazon Linux 2023无法使用EPEL存储库。 https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html#epel 因此,可能需要从源代码安装php 7.3。

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions