我正在尝试在我的Mac上获得PHP 7.1.我按照本指南成功安装并链接了php71 https://developerjack.com/blog/2016/08/26/Installing-PHP71-with-homebrew/
但是,当从终端运行php -v时(重启计算机后,运行源bashprofile等),我仍然得到PHP 5.6.30(cli).有没有办法让终端使用brews安装而不是mac附带的版本?
php macos terminal homebrew
homebrew ×1
macos ×1
php ×1
terminal ×1