Opened 5 years ago
Closed 5 years ago
#5727 closed task (blessed) (fixed)
Bump ServeHappy PHP constants to 7.3+
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Component: | API | Keywords: | |
| Cc: |
Description
The SUPPORTED_PHP value in servehappy-config.php is currently at 7.3.
The SECURE_PHP and ACCEPTABLE_PHP values are at 7.2, last changed in [9959] / #5257.
Since security support for PHP 7.2 and active support for PHP 7.3 ended last December, these values should be updated. Some context:
SUPPORTED_PHPis the lowest branch of PHP which is actively supported.SECURE_PHPis the lowest branch of PHP which is receiving security updates.ACCEPTABLE_PHPis the lowest branch of PHP which is still considered "acceptable" in WordPress. Sites with a version lower than this will see the ServeHappy dashboard widget urging them to update.
Based on the above, it seems like:
SUPPORTED_PHPshould be updated to 7.4.SECURE_PHPshould be updated to 7.3.ACCEPTABLE_PHPshould also be updated to 7.3, since we want users to have a secure version.
We can also discuss whether we want to bump the RECOMMENDED_PHP version to 8.0, however, given the large number of breaking changes there and unknown state of plugin compatibility, it might be a bit premature at this time.
Change History (3)
Note: See
TracTickets for help on using
tickets.
I strongly support bumping the
SUPPORTED_PHP,SECURE_PHPandACCEPTABLE_PHPversions.I also agree with @SergeyBiryukov that it is way too early to bump the
RECOMMENDED_PHPversion to 8.0. That should stay at7.4for the foreseeable future or at least until all PHP 8.0 related tickets have seen action or are solved, including ticket https://core.trac.wordpress.org/ticket/51553