diff options
Diffstat (limited to 'wizard/index.php')
-rw-r--r-- | wizard/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
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("<pre> $yum install php-xxx</pre>"); printf("</li><br />"); - if ($ver >= 7) { + if (version_compare($php, '7.0', '>=')) { printf("<li>Command to install <b>testing</b> packages:"); printf("<pre> $yum --enablerepo=%s-test install php-xxx</pre>", $phpvers[$php]); printf("</li><br />"); |