summaryrefslogtreecommitdiffstats
path: root/wizard/index.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-01-17 07:11:40 +0100
committerRemi Collet <fedora@famillecollet.com>2017-01-17 07:11:40 +0100
commit862ceb2f621726507bc06ee3bb07cb9a426cf28d (patch)
tree0b08fc64bda108f64fd221d5757e41fce294fd66 /wizard/index.php
parenta3adc845b2aeb02dbeb7657672b7ab78c5dad47f (diff)
Wizard: testing packages
Diffstat (limited to 'wizard/index.php')
-rw-r--r--wizard/index.php21
1 files changed, 16 insertions, 5 deletions
diff --git a/wizard/index.php b/wizard/index.php
index 8d4b6db..0c99e08 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -212,9 +212,17 @@ if ($php && $os && $type && !$err) {
printf("<li>Command to upgrade (the repository only provides PHP):");
printf("<pre> $yum update</pre>");
printf("</li><br />");
- printf("<li>Command to install additional packages:");
+
+ printf("<li>Command to install <b>additional</b> packages:");
printf("<pre> $yum install php-xxx</pre>");
printf("</li><br />");
+
+ if ($ver >= 7) {
+ printf("<li>Command to install <b>testing</b> packages:");
+ printf("<pre> $yum --enablerepo=%s-test install php-xxx</pre>", $phpvers[$php]);
+ printf("</li><br />");
+ }
+
printf("<li>Command to check the installed version and available extensions:");
printf("<pre> php --version\n php --modules</pre>");
printf("</li><br />");
@@ -225,23 +233,26 @@ if ($php && $os && $type && !$err) {
printf("<li>You want <b>multiple versions </b> which means using a <a href='https://www.softwarecollections.org/en/'>Software Collection</a></li><br />");
$scl='php'.str_replace('.', '', $php);
- if ($dist=='Fedora' || version_compare($php, '5.6', '<')) {
+ if ($dist=='Fedora') {
printf("<li>The <b>%s</b> collection is available in the <b>remi</b> repository</li><br />", $scl);
printf("<li>Command to install:");
printf("<pre> $yum --enablerepo=remi install %s</pre>", $scl);
printf("</li><br />");
printf("<li>Command to install additional packages:");
printf("<pre> $yum --enablerepo=remi install %s-php-xxx</pre>", $scl);
- printf("</li><br />");
} else {
printf("<li>The <b>%s</b> collection is available in the <b>remi-safe</b> repository</li><br />", $scl);
printf("<li>Command to install:");
printf("<pre> $yum install %s</pre>", $scl);
printf("</li><br />");
- printf("<li>Command to install additional packages:");
+ printf("<li>Command to install <b>additional</b> packages:");
printf("<pre> $yum install %s-php-xxx</pre>", $scl);
- printf("</li><br />");
}
+ printf("</li><br />");
+ printf("<li>Command to install <b>testing</b> packages:");
+ printf("<pre> $yum --enablerepo=remi-test install %s-php-xxx</pre>", $scl);
+ printf("</li><br />");
+
printf("<li>Command to check the installed version and available extensions:");
printf("<pre> %s --version\n %s --modules</pre>", $scl, $scl);
printf("</li><br />");