File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
include/download-instructions Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 55# Add the Remi's RPM repository.
66sudo dnf install -y dnf-plugins-core
77sudo dnf install -y https://rpms.remirepo.net/fedora/remi-release-$(rpm -E %fedora).rpm
8+ <?php if ($ multiversion ) { ?>
9+
10+ # Install PHP (multiple versions).
11+ sudo dnf install -y php<?= $ versionNoDot ; ?>
12+ <?php } else { ?>
813sudo dnf module reset php -y
914sudo dnf module enable php:remi-<?= $ version ; ?> -y
1015
11- # Install PHP.
16+ # Install PHP (single/default version) .
1217sudo dnf install -y php
18+ <?php } ?>
1319</code></pre>
Original file line number Diff line number Diff line change 77sudo dnf install -y dnf-plugins-core
88sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm
99sudo dnf install -y https://rpms.remirepo.net/enterprise/remi-release-$(rpm -E %rhel).rpm
10+ <?php if ($ multiversion ) { ?>
11+
12+ # Install PHP (multiple versions).
13+ sudo dnf install -y php<?= $ versionNoDot ; ?>
14+ <?php } else { ?>
1015sudo dnf module reset php -y
1116sudo dnf module enable php:remi-<?= $ version ; ?> -y
1217
13- # Install PHP.
18+ # Install PHP (single/default version) .
1419sudo dnf install -y php
20+ <?php } ?>
1521</code></pre>
You can’t perform that action at this time.
0 commit comments