Friday, March 11, 2022

How to fix zsh: command not found: php Error in MacOS Monterey

I have been using php with mamp on mac for a year even with old versions of MacOS, since I installed MacOS Monterrey if I type php on the terminal I get a message: zsh: command not found: php. After some googling, I find out MacOS doesn't include PHP. You need Homebrew to install PHP again.
brew install php

0 comments:

Post a Comment