From d98a08374f14b7a5b46379877fa499b13c94db13 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 17 Jan 2017 07:13:36 +0100 Subject: Wizard: fix test --- wizard/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wizard/index.php') diff --git a/wizard/index.php b/wizard/index.php index 0c99e08f..f1687172 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -217,7 +217,7 @@ if ($php && $os && $type && !$err) { printf("
    $yum install php-xxx
"); printf("
"); - if ($ver >= 7) { + if (version_compare($php, '7.0', '>=')) { printf("
  • Command to install testing packages:"); printf("
        $yum --enablerepo=%s-test install php-xxx
    ", $phpvers[$php]); printf("

  • "); -- cgit