Author: Shivam Mathur (shivammathur)
Date: 2026-01-04T04:11:15+05:30
Commit: Add missing --set parameter in macports instructions · php/web-php@861ecba · GitHub
Raw diff: https://github.com/php/web-php/commit/861ecba59eb2fa9bc6d1ec17bc7cc8d0d5e6fbf4.diff
Add missing --set parameter in macports instructions
Changed paths:
M include/download-instructions/osx-macports.php
Diff:
diff --git a/include/download-instructions/osx-macports.php b/include/download-instructions/osx-macports.php
index 41a4b7165e..4ed4c24f3a 100644
--- a/include/download-instructions/osx-macports.php
+++ b/include/download-instructions/osx-macports.php
@@ -10,5 +10,5 @@
# Switch Active PHP <?= $version; ?> version
-sudo port select php php<?= $versionNoDot; ?>
+sudo port select --set php php<?= $versionNoDot; ?>
</code></pre>