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`

Using older versions of MacOS I have never had this problem.

How can I solve the problem?