Switching PHP version on MacOS with brew

Written by James McDonald

April 27, 2020

Writing a web application and using the some new bells and whistles in PHP such as $var = $var ?? $othervar; only supported in 7.4

php -v
# php7.3
brew unlink php@7.3
brew install php@7.4


Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

Toggen builds a new website

So I have built and hosted a new website for Roger Clark Pest Management they are a family owned and operated Pest...


Just downloaded WizTree (not a sponsor) from https://wiztreefree.com/ It seems to do what it says on the tin which is...

Scam call from “Telstra”

Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...