-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP 8.4 support (bump minimum PHP version?) #9599
Comments
You changed code directly on the "master" branch, which makes the "unit" tests fail, which blocks proper pull requests. Please fix that. |
I bumped PHP requirement to 8.1. Also bumped bacon-qr-code to v3. So, all issues should be solved and now we can have PHP 8.4 support, I suppose. |
PHP v8.1 is going to have its end of life at the end of 2025 already. Why not go for v8.2 directly? Are there technical reasons? Even the current Debian "stable" release contains php v8.2, and that's usually one of the most conservative platforms, I'd say. |
I choose it according to what many of our dependencies require. I.e. it's the lowest we can go, I think, to get 8.4 support at the same time. End of life is not an argument. What Linux distros provide by default might be, but I did not really investigate that. I think AlmaLinux 9 comes with PHP 8.1. |
Thank you for the explanation! |
I have lots of enterprise Linux distros installed for my pipeline, so a quick Ansible command returns the following data about available PHP versions, maybe this list will be helpful. The strange thing, is the disappearance of PHP 8.1 from all "8" distros, but its there for all "9" distros, I don't know why. For example, AlmaLinux 8 has PHP 8.0 and jumps directly to PHP 8.2, while AlmaLinux 9 has 8.1 and 8.2. Fedora Server 40Name Fedora Server 41Name AlmaLinux 8Name Stream AlmaLinux 9Name Stream Oracle Linux 8Name Stream Oracle Linux 9Name Stream Rocky Linux 8Name Stream Rocky Linux 9Name Stream |
I've enabled testing on PHP 8.4 and there are some issues with
--prefer-lowest
run. That means we'll have to bump minimum supported PHP version or wait for the issues to be fixed (they might not be fixable, though).I've created some upstream tickets:
As we remove
require-dev
section in packaging, we may have more luck with PHP7 support for production releases.ps. I also run tests for 8.4 using 8.1 as a platform to workaround other issues.
The text was updated successfully, but these errors were encountered: