View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0037024 | mantisbt | administration | public | 2026-04-17 05:22 | 2026-04-17 06:42 |
| Reporter | dregad | Assigned To | dregad | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Target Version | 2.28.2 | Fixed in Version | 2.28.2 | ||
| Summary | 0037024: Incorrect PHP Supported version Admin Check | ||||
| Description | When PHP_SUPPORTED_VERSION is defined as X.Y (i.e. does not include a patch number, 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. All 8.5.x versions should pass the check when PHP_SUPPORTED_VERSION = 8.5. | ||||
| Tags | No tags attached. | ||||
|
MantisBT: master-2.28 872f853e 2026-04-17 06:34 Details Diff |
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 |
Affected Issues 0036540, 0037024 |
|
| mod - admin/check/check_php_inc.php | Diff File | ||