A
A
Artemmmm132020-11-30 19:59:44
PHP
Artemmmm13, 2020-11-30 19:59:44

How to properly update php on mac os?

The situation is such that mac os already has php initially, but at the moment it is old. In the process of "googling" how to update php on mac, everywhere they write to use the homebrew utility.
brew install php7
So if you use this php command, then it will install, but for some reason the old version is still used. Where can I specify which version to use?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artemmmm13, 2020-11-30
@Artemmmm13

I decided not to bother with the installation and just overridden the use of the php that comes with MAMP. Here is the link
if anyone needs it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question