title: How to get Mac's terminal to use Brew's PHP version?
body: <p>I'm currently trying to get PHP 7.1 on my mac. I followed this guide and successfully installed and linked php71 <a href="https://developerjack.com/blog/2016/08/26/Installing-PHP71-with-homebrew/" rel="nofollow noreferrer">https://developerjack.com/blog/2016/08/26/Installing-PHP71-with-homebrew/</a></p>
  
  <p>However, when running php -v from the terminal (after restarting computer, after running source bashprofile etc.), I still get PHP 5.6.30 (cli). Is there a way to get the terminal to use brews install instead of the version that comes with mac?</p>