Display PHP version in old version error messages

Change-Id: I3a6135871de0fdc94fa3fe622c6534746035a209
This commit is contained in:
Reedy 2018-04-13 11:32:55 +00:00
parent 40ad4433ec
commit f5a196a356

View file

@ -115,7 +115,8 @@ class PHPVersionCheck {
. "{$otherInfo['minSupported']}, you are using {$phpInfo['implementation']} "
. "{$phpInfo['version']}.";
$longText = "Error: You might be using an older {$phpInfo['implementation']} version. \n"
$longText = "Error: You might be using an older {$phpInfo['implementation']} version "
. "({$phpInfo['implementation']} {$phpInfo['version']}). \n"
. "MediaWiki $this->mwVersion needs {$phpInfo['implementation']}"
. " $minimumVersion or higher or {$otherInfo['implementation']} version "
. "{$otherInfo['minSupported']}.\n\nCheck if you have a"