MantisBT: master-2.28 872f853e

Author Committer Branch Timestamp Parent
dregad dregad master-2.28 2026-04-17 06:34 master-2.28 daf676b9
Affected Issues  0036540: Introduce a maximum PHP version
 0037024: Incorrect PHP Supported version Admin Check
Changeset

Fix PHP supported version admin check

When PHP_SUPPORTED_VERSION is defined as X.Y (no patch version), which
is the normal use case, and PHP_VERSION is on the minor defined (e.g.
8.5.4 for supported 8.5), the version check incorrectly reports a
warning, because 8.5.4 > 8.5.

Fixed the check by appending .999 to the supported version, cover the
case when PHP_SUPPORTED_VERSION includes a patch number, and adjust the
information message.

Fixes 0036540

mod - admin/check/check_php_inc.php Diff File