View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0031699 | mantisbt | api rest | public | 2022年12月01日 08:41 | 2026年09月01日 08:25 |
| Reporter | dregad | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | N/A |
| Status | confirmed | Resolution | open | ||
| Target Version | 2.29.0 | ||||
| Summary | 0031699: Upgrade Slim Framework to 4.x | ||||
| Description | Slim 3.x has reached end-of-life and is only getting security updates. PHP 8.1 compatibility is limited, and the Slim team have clearly stated that they will not accept pull request to fix that. The latest version of Slim (4.11.0 as of this writing) requires PHP 7.4. | ||||
| Tags | PHP 8.1, PHP 8.2, PHP 8.4 | ||||
The latest version of Slim (4.11.0 as of this writing) requires PHP 7.4.
Actually, PHP 7.4 is only required as of Slim 4.10.0.
PHP 7.2 support was dropped in Slim 4.9.0, so we could consider upgrading to 4.8.1 with our current requirements.
It looks like making our old Slim 3.x work under PHP 8.4 is not going to be possible without patching the source, as some of the errors are occurring before the custom handler that I implemented in 0032866 is in place, so they cannot be caught with it.
I managed to find a workaround to run on PHP 8.4 without upgrading to Slim 4, see 0035284.
Copyright © 2000 - 2026 MantisBT Team
Contact administrator for assistance