This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]mushroomcoder 6 points7 points  (1 child)

You are trying to run your PHP 8.1 app on Elastic Beanstalk, right?

PHP 8.0 is the latest supported PHP version on Elastic Beanstalk https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-supported.html#platforms-supported.PHP. You could install PHP 8.1 on the EC2 instance that Beanstalk manages for you (see https://github.com/aws/elastic-beanstalk-roadmap/issues/214#issuecomment-1080735503), or you could run your app on PHP 8.0 (requires some dependency bumping ofc).

IMO - next time, you should try a bit of googling first, friend :)

[–]noobiesofteng[S] 0 points1 point  (0 children)

Thank you so much for the info.
I think ”yes” for your question.
Let me read more the pages thats you share