File tree Expand file tree Collapse file tree 4 files changed +24
-0
lines changed
include/download-instructions Expand file tree Collapse file tree 4 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ <p>
2
+ On the command line, run the following commands:
3
+ </p>
4
+ <pre><code class="language-bash line-numbers">
5
+ # Add the Remi's RPM repository.
6
+ sudo subscription-manager repos --enable codeready-builder-for-rhel-$(rpm -E %rhel)-$(arch)-rpms
7
+ sudo dnf install -y dnf-plugins-core
8
+ sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm
9
+ sudo dnf install -y https://rpms.remirepo.net/enterprise/remi-release-$(rpm -E %rhel).rpm
10
+ sudo dnf module reset php -y
11
+ sudo dnf module enable php:remi-<?= $ version ; ?> -y
12
+
13
+ # Install PHP.
14
+ sudo dnf install -y php
15
+ </code></pre>
Original file line number Diff line number Diff line change
1
+ <p>
2
+ On the command line, run the following commands:
3
+ </p>
4
+ <pre><code class="language-bash line-numbers">
5
+ # Install PHP.
6
+ sudo dnf install -y php
7
+ </code></pre>
Original file line number Diff line number Diff line change
1
+ linux-redhat-cli-community.php
Original file line number Diff line number Diff line change
1
+ linux-redhat-cli-default.php
You can’t perform that action at this time.
0 commit comments