1 week ago

upgrade PHP version on mac

Posted 1 week ago by david001

I am using a mac. I need to install laravel so I want to upgrade to PHP 7.3 or higher I did brew install [email protected] and when I checked my PHP version in another terminal it still shows me PHP 7.2 .Again I run the command brew upgrade PHP, it gives me a warning

 brew upgrade php
Updating Homebrew...
Warning: php 7.4.11 already installed

but php -v shows me 7.2 . can anyone help me how to get php 7.4? Thanks

Please sign in or create an account to participate in this conversation.