I want to install PHP 7.2 on MacBook Pro M1, macOS Big Sur (11.5.2).
I already read an article (How To Install a PHP 7.2 on macOS 10.15 Catalina Using Homebrew and PECL), but it doesn't work for me.
I used Homebrew to install PHP 7.2 using this command:
brew install php@7.2
But I've got this error:
php@7.2 has been disabled because it is deprecated upstream!