Skip to content
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

Drop support of older php versions? #118

Open
Chris53897 opened this issue Apr 19, 2023 · 3 comments
Open

Drop support of older php versions? #118

Chris53897 opened this issue Apr 19, 2023 · 3 comments

Comments

@Chris53897
Copy link
Contributor

Are there any plans to drop support for older php versions?

@ghost
Copy link

ghost commented Aug 18, 2023

I'm not a matomo developer, but here is how I handle PHP version requirements/compatibility at my projects:

  1. follow supported PHP versions based on Enterprise Linux (RHEL, Alma, Rocky, Oracle).
  2. CentOS 7 with PHP 5.6 is still fully supported till 2024, so support at least that.
  3. Once CentOS 7 has reached its EOL, move to the next lesser version: PHP 8.0
  4. Support at least PHP 8.0 while its supported by Enterprise Linux (RHEL, Alma, Rocky, Oracle), off the top of my head, its up to 2029!

Sure, the cool kids will be running the latest and greatest version, but those of us living in the finance sector, running sensitive applications that require 8 year stability, we have other requirements. Following Enterprise Linux practices gives the best compatibility for enterprises.

@Chris53897
Copy link
Contributor Author

Of course there are different needs.
I hope that these companies support the maintainers for there extra work, to support legacy versions.
In general, not limited to this repo.

I noticed your PR to improve code quality. Thanks for that.

@ghost
Copy link

ghost commented Aug 19, 2023

I'm waiting for CentOS 7 to expire in 2024, then we can begin some serious refactoring with PHP 8.x and avoid using the 7.x series.

About my PR, no problem, just giving back to the community. I hope it gets merged, so I can continue with PSR compatibility standards, PSR-1 & PSR-12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant