[PHP-WEBMASTER] [web-php] master: Add missing --set parameter in macports instructions

[email protected] (Shivam Mathur)
Newsgroups php.webmaster
Message-ID <[email protected]>
Author: Shivam Mathur (shivammathur)
Date: 2026-01-04T04:11:15+05:30

Commit: https://github.com/php/web-php/commit/861ecba59eb2fa9bc6d1ec17bc7cc8d0d5e6fbf4
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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.