MacOS menginstal PHP 7.4
brew install [email protected]
Grotesque Giraffe
brew install [email protected]
#php 5.6 is deprecated so to install it
brew tap exolnet/homebrew-deprecated
brew install [email protected]