Mac/Brew/PHP: Difference between revisions
Johan Efendi (talk | contribs) (Created page with "Untuk mengetahui PHP yang terinstall di brew <pre> brew ls --versions | grep '^php[ @]' php 8.2.10 [email protected] 7.1.33_9 [email protected] 7.2.34_9 </pre> Untuk berpindah dari php 7.2 ke php 8.2 <pre> brew unlink [email protected] brew link php </pre>") |
Johan Efendi (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Untuk mengetahui PHP yang terinstall di brew | Untuk mengetahui PHP yang terinstall di brew | ||
< | <syntaxhighlight lang="bash">brew ls --versions | grep '^php[ @]' | ||
php 8.2.10 | php 8.2.10 | ||
[email protected] 7.1.33_9 | [email protected] 7.1.33_9 | ||
[email protected] 7.2.34_9 | [email protected] 7.2.34_9 | ||
</ | </syntaxhighlight> | ||
Untuk berpindah dari php 7.2 ke php 8.2 | Untuk berpindah dari php 7.2 ke php 8.2 | ||
< | <syntaxhighlight lang="bash"> | ||
brew unlink [email protected] | brew unlink [email protected] | ||
brew link php | brew link php | ||
</ | </syntaxhighlight> |
Latest revision as of 05:34, 27 May 2024
Untuk mengetahui PHP yang terinstall di brew
brew ls --versions | grep '^php[ @]'
php 8.2.10
[email protected] 7.1.33_9
[email protected] 7.2.34_9
Untuk berpindah dari php 7.2 ke php 8.2
brew unlink [email protected]
brew link php