Skip to content

Commit c0dda8e

Browse files
authored
Merge pull request #1316 from beryllium/2025-08-15-update-macports-instructions-for-multiversion
Add MacPorts instructions for switching PHP versions
2 parents 9f2a021 + a7445f1 commit c0dda8e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/download-instructions/osx-macports.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,12 @@
33
</p>
44
<pre><code class="language-bash line-numbers">
55
# Please refer to https://guide.macports.org/chunked/installing.macports.html for installing MacPorts.
6+
7+
# Install PHP <?= $version; ?>
8+
69
sudo port install php<?= $versionNoDot; ?>
10+
11+
12+
# Switch Active PHP <?= $version; ?> version
13+
sudo port select php php<?= $versionNoDot; ?>
714
</code></pre>

0 commit comments

Comments
 (0)