View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0025956||mantisbt||installation||public||2019-08-03 08:29||2020-08-17 05:08|
|Summary||0025956: Increase minimum PHP requirement to 7.0|
Since MantisBT 2.0.0 we officially support PHP 5.5.9 and later, aligned with Ubuntu14.04 LTS "Trusty Tahr" release (as per discussion in 0021841).
PHP 5.5 is EOL since 21 Jul 2016, and PHP 5.6 support ended 31 Dec 2018 so I think it's finally time to put 5.x behind us.
Continuing our strategy to align requirements with Ubuntu LTS releases, the oldest one as of this writing is 16.04 Xenial Xerus, which comes bundled with PHP 7.0 by default. Note: 7.0 is also EOL since 31 Dec 2018.
Maintaining compatibility with PHP 5.x is becoming increasingly difficult, as more and more libraries and tools are dropping support for it (e.g. PHPUnit, and many others).
Travis CI is defaulting to Xenial for builds since May 2019 , and PHP 5.5 is not available at all under this distribution (see #25955). We can force use of Trusty for now to keep things working, but we need to make the switch at some point.
|Tags||No tags attached.|
I'm ok with this.
I am also ok with this when speaking about my own installations.
But keep in mind that I introduced a hard check for minimum PHP version in version 2.13.0 to fix 0024128.
The general problem is, that we don't offer some kind of LTS version.
Well if we require a minimum version, then I think it's normal that the software should fail with a message when the requirement is not met.
Even if technically, MantisBT would still work with older PHP versions, we can always instruct users who get stuck because they can't upgrade PHP on their server for whatever reason, to try - at their own risk of course - to change value of PHP_MIN_VERSION in their config.
Not possible at the moment. The check is done before config_inc.php is included. There was a good reason to check it in a very early state.
I always assumed that 2.0.0 we had PHP 7 as the target version, and support for PHP 5.x was best effort. Given that all 5.x are out of support, I think we should make PHP 7 a hard requirement and move on.
Please do not underestimate the impact on users... and make this change very explicit.
to be updated
@Kyle_Katarn what has to be updated?
The above mentionned web page, once PHP 7 becomes required.
Based on the general consensus, I'm planning to implement this in the next release (2.25.0).
Note: Xenial will enter extended support maintenance mode in April 2021, at which point the oldest LTS release with standard support will be 18.04 "Bionic Beaver" which is on PHP 7.2  so we might go through this again in a few months.
|2019-08-03 08:29||dregad||New Issue|
|2019-08-03 08:31||dregad||Relationship added||related to 0021841|
|2019-08-03 09:45||cproensa||Note Added: 0062498|
|2019-08-03 10:06||atrol||Relationship added||related to 0024128|
|2019-08-03 10:14||atrol||Note Added: 0062499|
|2019-08-03 11:05||dregad||Note Added: 0062500|
|2019-08-03 11:43||atrol||Note Added: 0062501|
|2019-08-25 13:02||vboctor||Target Version||2.22.0 => 2.23.0|
|2019-08-25 16:42||vboctor||Note Added: 0062655|
|2019-12-09 05:08||dregad||Target Version||2.23.0 => 2.24.0|
|2020-03-13 17:35||Kyle_Katarn||Note Added: 0063758|
|2020-03-15 15:27||vboctor||Target Version||2.24.0 => 2.25.0|
|2020-03-16 10:48||Kyle_Katarn||Note Added: 0063766|
|2020-03-16 10:57||atrol||Note Added: 0063767|
|2020-03-16 12:24||Kyle_Katarn||Note Added: 0063768|
|2020-08-17 05:03||dregad||Assigned To||=> dregad|
|2020-08-17 05:03||dregad||Severity||minor => major|
|2020-08-17 05:03||dregad||Status||new => assigned|
|2020-08-17 05:03||dregad||Note Added: 0064265|
|2020-08-17 05:08||dregad||Relationship added||related to 0023378|