01575: Raise PmWiki Minimum version to a supported version of PHP

Summary: Raise PmWiki Minimum version to a supported version of PHP
Created: 2026-11-11 19:20
Status: Open
Category: Feature
From: simon
Assigned:
Priority: 5
Version: all
OS: all

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.

simon

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

See also 01504. --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:

DatePmWiki req.PHP supported
todayPHP 7.0+PHP 8.2+
2027-01-01PHP 7.4+PHP 8.3+
2027-07-01PHP 8.0+PHP 8.3+
2028-01-01PHP 8.2+PHP 8.4+
2028-07-01PHP 8.4+PHP 8.4+
2029-01-01Oldest PHP version receiving security updatesAll 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