Home > Blockchain >  "env: php: No such file or directory" on new mac OS Monterey
"env: php: No such file or directory" on new mac OS Monterey

Time:10-28

i've updated my mac os to Monterey (12) and then I can not use composer command or php command and get this error

env: php: No such file or directory

CodePudding user response:

PHP has been removed from MacOS since v12 (Monterey), so you first need to install it on your own to use it. From my POV, the easiest way to do this is using Homebrew

  • Related