Template talk:MW stable php requirement

Latest comment: 7 months ago by Jdforrester (WMF) in topic "supporting" older versions of PHP than PHP supports?

Why is this here?

edit

Hi, I'm coding Extension:Update, an incremental approach to Requests_for_comment/Extension_release_management. I'd like to be able to pull a page using Http::get that lets me know which version of PHP is required by MW stable, just like I can use Template:MW stable branch number. Besides, hardcoding the requirement into Template:DownloadMediaWiki seems silly, we may want to put it elsewhere as well, so this may in fact end up being useful! --Quadir 04:10, 20 September 2011 (UTC)Reply

protect page

edit

Can an admin protect this page please like Template:MW stable branch number is? Thanks. --Quadir 04:11, 20 September 2011 (UTC)Reply

  Done Krinkle (talk) 17:17, 25 August 2013 (UTC)Reply

"supporting" older versions of PHP than PHP supports?

edit

This should probably say 8.1, with the unsupported PHP 7.4.3 compatibility. I don't know how I'd phrase it, but it just seems strange to imply that going lower than 8.1 has any bearing on what versions are "supported". The compatibility with 7.4.3 does seem like a pretty important distinction, to someone . . . probably not the primary audience for the upgrade document, though.

Maybe something like "8.1 (or unsupported PHP 7.4.3)". Eidsjehg (talk) 17:49, 29 April 2024 (UTC)Reply

No. The current stable version of MediaWiki, 1.41.x as of writing, supports PHP 7.4.3+ and will error at you if you try to run it on PHP 7.4.2 or 7.3.x etc., which is the purpose of this template. As of 1.42.0 being released in the next few weeks, this will indeed increase to PHP 8.1.0 (as we're dropping PHP 7.4.x and 8.0.x support), but until that release happens, we still support people trying to run MediaWiki on PHP 7.4 (indeed, this site is running on that stack).
Also, it has to be a strict numerical value, not text, as it's used in many languages and contexts where words (or even just brackets and extra annotations) would break things. Jdforrester (WMF) (talk) 18:15, 29 April 2024 (UTC)Reply
Return to "MW stable php requirement" page.