amazonlinux / amazon-linux-2023

Amazon Linux 2023

Home Page:https://aws.amazon.com/linux/amazon-linux-2023/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elastic Beanstalk fails to deploy PHP 8.2 apps under Amazon Linux 2023

antoniodavila opened this issue · comments

Describe the bug
When deploying a PHP 8.2 app to an EBS instance running AL2023 via CodePipeline, it will stay "in progress" for 6-10 minutes, sometimes it deploys, sometimes not.

To Reproduce
Steps to reproduce the behavior:
1.- Release a change in code pipeline
2.- Source stage succeeds
3.- Deploy stage gets stuck in progress when deploying
4.- Sometines it will deploy after 15 minutes, sometimes will not, sometimes it will deploy immediately.

Expected behavior
App should deploy in a reasonable amount of time i.e. 1-2 minutes like under PHP 8.1 with AL2

Just did the same test all the same configs but PHP 8.1 under AL 2023, app deploy took 1 minute and no issues

Might be something specific to CodeDeploy? I'm deploying PHP 8.2 apps under AL 2023 just fine using awsebcli / 'eb deploy'.

Seems to be fixed since april 2024, now all my sites are deploying quickly under AL 2023 with PHP 8.2 =)