Topic: Support for amazon linux 2022

Amazon Linux 2022 is successor of Amazon Linux 2 and is based on Fedora.

Amazon Linux 2 had its own support for installing php 8.0 in the amzn2extra-php8.0 repository, but for version 2022 there is nothing like that and it is not even planned (according to Amazon).

Can you please build packages for this system as well?

Now I'm trying to compile php and mod_php from sources, but it is not very good and you can do this for all users of all supported versions.

At github repository https://github.com/amazonlinux/amazon-linux-2022 is README about Amazon Linux 2022 and his Release Notes

At some site at path issues/11 is request to php 8.0, but without any progress.

Docker image is available as amazonlinux:2022

Re: Support for amazon linux 2022

If it is based on Fedora, you simply have to follow the wizard using "Fedora" instructions (need to find the proper version)

But I'm afraid it will be another Frankenstein distribution...

Desktop: Fedora 35 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 36 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Support for amazon linux 2022

From a quick look, definitively a Frankestein thing

Having PHP 7.4... like in F34
Some part of  F35
OpenSSL 3 from F36
DNF without modularity sad

Sorry, can't work.
Please use the real fedora of centos/alma/rocky images instead

Desktop: Fedora 35 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 36 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Support for amazon linux 2022

Just digging a little...
They provide PHP 7.4 (from F34) build with OpenSSL 3 (from F36)

PHP 7.4 is NOT compatible with OpenSSL 3 (only 8.1 in upstream)
They use a minimal fix for the build, but this is not enough (test suite fails in so much way)


1st conclusion: I will never rely on such a "rolling" distribution, which cannot be reliable for production usage.


2nd conclusion: I don't plan to support this, and don't plan to provide RPMs for it


P.S. yes I provide 7.4, and 8.0 for F36 / EL-9 which also use OpenSSL 3 (distribution default version)
but with a much huge patch, and test suite passes without any failure

Desktop: Fedora 35 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 36 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Support for amazon linux 2022

Thank you for your time. AmazonLinux 2022  is now in prerelease phase, I hope that with the release of the production version, it will no longer be Frankenstein thing. Then I will ask you once again for your opinion.

It doesn't have to be a rolling distribution - citation from documentation: "A new major version of Amazon Linux is released every two years and includes five years of support.".
https://docs.aws.amazon.com/linux/al202 … dence.html

I'm using Amazon Linux, because I must migrate to aws and I hope, that Amazon Linux better fit to aws environment.

Re: Support for amazon linux 2022

> Then I will ask you once again for your opinion.

The answer will very probably be: no plan for new distro, 6 (3 Fedora + 3 RHEL) is already really lot of work

Desktop: Fedora 35 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 36 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

7 (edited by pikatura48 2022-06-15 11:46:43)

Re: Support for amazon linux 2022

interesting information