Lower PHP requirement to 8.1

Created on 9 July 2024, 8 months ago
Updated 27 August 2024, 6 months ago

There are Linux distributions that still use PHP 8.1 before 8.1.6 (e.g. Ubuntu 22.04) and the statistics module cannot be used on those, without installing PHP from a different source than the official distributions' repositories.

As far as I can see, there is no technical reason to requiring PHP 8.1.6, so I would suggest lowering the requirement to PHP 8.1 instead.

🐛 Bug report
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇩🇪Germany lukas_w

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @lukas_w
  • Status changed to Postponed: needs info 8 months ago
  • 🇫🇷France fgm Paris, France

    @lukas_w any reason why you ask to lower php requirement when it is already 8.1.6 ?

  • 🇩🇪Germany lukas_w

    @ressa It's about the requirement in composer.json.

    @fgm For me the main reason is, that Ubuntu 22.04 is still shipping PHP 8.1.2. There might be other distros in the same situation, but I haven't checked. I know about ondrej PPA, but there might be situations where this is not a viable solution. In the end, it's about sparing the system administrator (i.e. me ;) ) some additional hassle.

    As a side note, in my opinion a module should require only what's really required, not what's recommended.

    Thanks for the fast response and I would be really grateful if you change the requirement as proposed.

  • Status changed to Closed: won't fix 6 months ago
  • 🇫🇷France fgm Paris, France

    @lukas_w after considering options, I will not lower the requirements to a version not recommended for core. I understand it may be a bit more troublesome, but the security and bug issues involved with older versions is not worth it in my opinion.

Production build 0.71.5 2024