From 31c52e4ce2395e792e637177d0477fb53f91a8d7 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 27 Apr 2017 16:32:47 +0200 Subject: Wizard: warn about EOL php versions --- wizard/index.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/wizard/index.php b/wizard/index.php index 991f28c9..cde72eec 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -143,9 +143,8 @@ if ($os) { if ($php && $os) { printf("
  • %s provides PHP version %s in its official repository

  • ", $os, $osvers[$os]); - if ($ver < 6 && version_compare($php, '7.0', '>=')) { - printf("
  • Sorry, but PHP version %s is not available for %s, you need to run a more recent OS.

  • ", $php, $os); - $err = true; + if (version_compare($php, '5.6', '<')) { + printf("
  • WARNING, PHP version %s have reached its eod of life, despite packages have security fix, you should consider a maintained version.

  • ", $php); } } if ($php && $os && $type && !$err) { -- cgit