Skip to content

[3.0] Raises minimum PHP version to 8.4.1#9164

Merged
Sesquipedalian merged 1 commit intoSimpleMachines:release-3.0from
Sesquipedalian:3.0/php84_min
Mar 21, 2026
Merged

[3.0] Raises minimum PHP version to 8.4.1#9164
Sesquipedalian merged 1 commit intoSimpleMachines:release-3.0from
Sesquipedalian:3.0/php84_min

Conversation

@Sesquipedalian
Copy link
Member

@Sesquipedalian Sesquipedalian commented Mar 21, 2026

Up until now, we have pegged SMF 3.0's minimum required PHP version at PHP 8.0. The main reason for doing so was to try to ease the transition for admins running SMF 2.0. The thinking was that, since PHP 8.0 is the highest version supported by SMF 2.0, having SMF 3.0 support PHP 8.0 and higher would ensure an overlap in their respective ranges of supported PHP versions. Back in 2023, when SMF 3.0 first began public development, PHP 8.0 had not yet reached End of Life status, and so supporting it seemed quite reasonable.

However, we have lately been reconsidering whether that's really worthwhile.

First, there's the growing development burden that comes with chaining ourselves to PHP versions that are already obsolete. Today, not only has PHP 8.0 reached EOL, but so has PHP 8.1, and even PHP 8.2 will by the end of this year. By holding onto support for these old PHP versions, we have to perform a wide series of tests in order to make sure that changes that seem to work on a developer's local machine will in fact work on all our supported PHP versions. This has already been a problem a few times, and it is likely to continue to be. Even our continuous integration scripts, such as PHP-CS-Fixer, have begun complaining about trying to support 8.0.

Second, it doesn't seem like upgrading PHP versions is actually much of a barrier for people anymore. These days, even cheap shared hosting usually allows the customer to choose between PHP versions using a simple dropdown menu. Moreover, we've had an increasing number of support topics lately in which admins tell us that their hosts have forced them to upgrade to a new PHP version and now they are scrambling to upgrade their forums to match. Getting people onto a recent version of PHP doesn't seem to be the problem we need to worry about.

In light of these two realities, we have decided to drop support for PHP 8.0 and raise SMF 3.0's minimum PHP version to PHP 8.4.

Moving forward between now and whenever we hit SMF 3.0 RC1, the minimum PHP version will be the lowest PHP version that has active support from the PHP devs. Today that means PHP 8.4. If we haven't reached SMF 3.0 RC1 by Jan 1, 2027—when PHP 8.4 moves into security support only—then on that day our minimum PHP version will become PHP 8.5.

Once we reach SMF 3.0 RC1, things will change a little. Whatever the minimum supported PHP version is at that time will remain the minimum version for as long as it is receiving security fixes from the PHP devs. Then the minimum PHP version will be bumped up to the next PHP version that is still receiving security fixes. This approach will continue forward through the release of 3.0.0, 3.0.1, and onward indefinitely.

Signed-off-by: Jon Stovell <jonstovell@gmail.com>
@Sesquipedalian Sesquipedalian merged commit 9f5e461 into SimpleMachines:release-3.0 Mar 21, 2026
4 checks passed
@Sesquipedalian Sesquipedalian deleted the 3.0/php84_min branch March 21, 2026 23:32
@jdarwood007 jdarwood007 added this to the 3.0 Alpha 5 milestone Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants