Answer the question
In order to leave comments, you need to log in
How to change PHP version on Mac?
Hello! I've been trying to change the PHP version on Mac OS High Sierra for a day now.
php -v now outputs:
Then I run the command:
export PATH="$(brew --prefix homebrew/php/php70)/bin:$PATH"
which php
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question