<div dir="ltr">I support reducing the number of PHP versions supported. (see <a href="https://www.php.net/supported-versions">https://www.php.net/supported-versions</a>).<br>Old PHP versions often have security issues.<div>PHP 8.1 was first released 25 Nov 2021 (PHP 8.0 is no longer supported).<br><br>I recommend the PmWiki only support PHP versions that are actively supported, or under security fixed only support.</div><div>I appreciate this may break some older recipes. (again which might have security issues).<br><br>Most hosting providers will offer supported versions of PHP, and will retire unsupported versions.</div><div>Upgrading PHP is, IMHE, pretty straightforward.<br><br>Hopefully we can ask PM to update his version of PHP, or offer to do it for him.</div><div><br></div><div>Simon<br><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sun, 22 Jun 2025 at 00:31, Petko Yotov <<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi everyone,<br>
<br>
I want to discuss raising the minimum supported PHP version. At the <br>
moment, we support PHP 5.3 and up, but this range has become <br>
increasingly difficult to maintain due to modern PHP language features <br>
that are incompatible with such older versions.<br>
<br>
Why this change is being considered:<br>
<br>
* PHP 5.3 has been EOL (end-of-life) since 2014, and even PHP 5.6 and <br>
7.0 are long out of support.<br>
<br>
* Supporting older versions like 5.3 significantly increases maintenance <br>
effort and testing overhead.<br>
<br>
* The vast majority of users (based on feedback and recent issues) are <br>
on PHP 7.x or 8.x.<br>
<br>
* Pm's server runs PHP 7.0 — which is already a more reasonable lower <br>
bound.<br>
<br>
Proposed change:<br>
I'd like to raise the minimum required PHP version to 5.5 (or ideally <br>
7.0). This would allow us to:<br>
<br>
* Use more modern syntax (like short arrays, dereferencing, ?? operator, <br>
etc.).<br>
<br>
* Progressively drop conditionals and workarounds for ancient versions.<br>
<br>
* More easily integrate new tools and libraries for testing and <br>
development.<br>
<br>
Questions for the community:<br>
<br>
* Are there any active wiki administrators still depending on PHP <5.5 <br>
(or <7.0)?<br>
<br>
* Would raising the requirement to 5.5 be acceptable to everyone? What <br>
about 7.0?<br>
<br>
* If someone is still on an older PHP version, is there a reason they <br>
can't upgrade?<br>
<br>
There is a PITS entry with a poll and a discussion:<br>
<br>
   <a href="https://www.pmwiki.org/wiki/PITS/01504" rel="noreferrer" target="_blank">https://www.pmwiki.org/wiki/PITS/01504</a><br>
<br>
I'd like to get feedback before making the change, so please chime in <br>
with your thoughts. My goal is to balance moving the project forward <br>
while being considerate to users who may be on older systems.<br>
<br>
Thanks!<br>
Petko<br>
<br>
-- <br>
If you upgrade :  <a href="https://www.pmwiki.org/Upgrades" rel="noreferrer" target="_blank">https://www.pmwiki.org/Upgrades</a><br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" rel="noreferrer" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</blockquote></div>