title: Upgrading PHP CLI version on mac
body: <p>I just now bought new Macbook Pro for development purpose. I did a small research and install MAMP on Mojave OS for my current project but happen to see my PHP CLI version is 7.1.23 and was unable to upgrade, coming from Windows background I have a lot of experience in XAMPP. I found the MAC OS installer and did my in installation with latest version of PHP available. As I wanted latest PHP for my project.</p>
  
  <p>Now when I see <code>phpinfo();</code> through my XAMPP localhot I can see PHP version 7.3 but when I go to terminal I see the same old version. I tried updating the PHP using <a href="https://coolestguidesontheplanet.com/upgrade-php-on-osx/" rel="nofollow noreferrer">this link</a> but no luck in updating PHP CLI version.</p>
  
  <p><a href="https://i.stack.imgur.com/rM54U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rM54U.png" alt="PHP Xampp Version"></a></p>
  
  <p>And in CLI</p>
  
  <p><a href="https://i.stack.imgur.com/Mb45D.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Mb45D.png" alt="CLI Version"></a></p>
  
  <p>Help me out with this. Thanks.</p>