*fix - checkSsl should check PHP_VERSION and not PHP_RELEASE_VERSION

This commit is contained in:
Ing. Petr Suchy 2020-02-07 08:03:12 +01:00
parent 8fa1bf6c0d
commit 5934e9a25c
No known key found for this signature in database
GPG Key ID: 5BC9AFE53BB0E8A2
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ class StatusUpdater
*/
private function checkSsl($server, &$error, &$result)
{
if (version_compare(PHP_RELEASE_VERSION, '7.1', '<')) {
if (version_compare(PHP_VERSION, '7.1', '<')) {
$error = "The server you're running PSM on must use PHP 7.1 or higher to test the SSL expiration.";
return;
}