Amazon Linux 2023 image not supporting php7.3 version

0

In my dockerfile I use the below as base image to build my application image. FROM public.ecr.aws/amazonlinux/amazonlinux:latest

Once there was change in the base image version change from AMI2 to 2023, my dockerfile fails to build most of the packages which includes php7.3 version. It support only version 8

Can I get any assistance on how to install the version 7.3 in 2023 image version.

질문됨 일 년 전1703회 조회
1개 답변
0
수락된 답변

I checked the documentation here and it seems that php 8.1 is indeed included.
https://docs.aws.amazon.com/ja_jp/linux/al2023/release-notes/new-packages.html

Amazon Linux 2023 cannot use the EPEL repository, according to the following documentation.
https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html#epel

Therefore, installation of php 7.3 may need to be done from source.

profile picture
전문가
답변함 일 년 전
  • Thanks for the update. I will try building from source and also check if we can upgrade our application to use php8.1

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠