MacOS menginstal PHP 7.4
brew install [email protected]
Grotesque Giraffe
brew install [email protected]
brew install [email protected]
brew services restart php
brew unlink [email protected]
brew link [email protected]
echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="/usr/local/opt/[email protected]/sbin:$PATH"' >> ~/.zshrc
#php 5.6 is deprecated so to install it
brew tap exolnet/homebrew-deprecated
brew install [email protected]