01575: Raise PmWiki Minimum version to a supported version of PHP
Description:
This is to discuss raising the minimum required PHP version for PmWiki. Currently the oldest version supported by PmWiki is PHP 7.0.
As we know these older unsupported versions are insecure.
PHP 8.4 and 8.5 are the currently supported versions as of 2026-11.
Just to clarify, PmWiki is already compatible with recent PHP versions -- nothing prevents you from running PHP 8.5. This request is for new PmWiki versions to intentionally stop supporting PmWiki installations and users running older PHP versions -- most often not by their choice. --Petko
Does PmWiki.Requirements need updating?
Yes, it does, if/when we raise the supported version. --Petko
I am open to supporting the PHP versions still having critical vulnerabilities fixed, that is the current and 3 previous PHP versions per link. In addition, we should have a predictable calendar/timeline similar to the one on php.net, to reach these versions progressively. For example:
| Date | PmWiki req. | PHP supported |
|---|---|---|
| today | PHP 7.0+ | PHP 8.2+ |
| 2027-01-01 | PHP 7.4+ | PHP 8.3+ |
| 2027-07-01 | PHP 8.0+ | PHP 8.3+ |
| 2028-01-01 | PHP 8.2+ | PHP 8.4+ |
| 2028-07-01 | PHP 8.4+ | PHP 8.4+ |
| 2029-01-01 | Oldest PHP version receiving security updates | All PHP versions receiving security updates |
This will allow the time for people to review and update their installations, and we can help if needed. Otherwise they could still use their older PmWiki version. --Petko