I installed php 8.0 on my MacBook pro (MacOS 11.2.3) using homebrew. I'm a newbie and I don't know if I added PHP to my $PATH correctly. My path in .bashrc looks like this: /Users/johnrimestad/Library/Python/3.8/bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Cellar/php/8.0.3
When I run "which php" in my terminal, it still shows the path of the older version: /usr/local/bin/php.
Any advice is greatly appreciated