0

I have tried to update PHP on my iMac with MacOS High Sierra, but I can't find how to do it. I intend to run Laravel 7. Is my MacOS version compatible with the most recent version of PHP?

My current PHP version is the following:

Last login: Wed Nov 18 17:19:54 on ttys000
Albert-iMac:~ admin$ php -v
PHP 7.1.33 (cli) (built: Jan 18 2020 13:49:07) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
Albert-iMac:~ admin$ brew install [email protected]
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
aerc            cargo-edit      cfn-format      giza            gping
==> Updated Formulae
Updated 124 formulae.

Warning: [email protected] 7.3.24 is already installed and up-to-date
To reinstall 7.3.24, run `brew reinstall [email protected]`
Albert-iMac:~ admin$ 
shn
  • 865
  • 5
  • 14
Albert
  • 1
  • 1

1 Answers1

0

Similar to what I have answered in here, you need some environment setup to have it work for your favor:

Right now you can still have the bottle for [email protected], but it might go away with the next release as homebrew dropped the high-sierra bottle support recently.

chenrui
  • 8,910
  • 3
  • 33
  • 43