zsh: command not found: php

When I update MacOS Monterey, PHP was remove. I found this article it useful and solve this problem for me. https://wpbeaches.com/updating-to-php-versions-7-4-and-8-on-macos-12-monterey Add the PHP formulae brew tap shivammathur/php Choose the PHP version – this example uses 7.4 brew install shivammathur/php/php@7.4 Link the PHP Version brew link –overwrite –force php@7.4 Restart the Terminal php -v

How can I fix the “zsh: command not found: python” error? (macOS Monterey 12.3, Python 3.10, Atom IDE, and atom-python-run 0.9.7)

Anyone updating their macOS to Monterey 12.3 will find that they suddenly no longer have the system-provided Python 2. The reason for this is that Apple removed the system-provided Python 2 installation (details). So a workaround/solution for this is to use pyenv to install Python 2.7 (or any other specific version you need). Install pyenv with …

Read more