title: OS X PHP version command line
body: <p>I've got installed php 7.1.0 and 5.6.27 on my OS X. On setup it seems like I've failed.</p>
  
  <p>Using php -v returns 7.1.0.
  But when I navigate to /usr/local/bin/ there are two php bins</p>
  
  <pre><code>php
  php-cli
  </code></pre>
  
  <p>Executing both -v returns 5.6.27. When I use which php I get of course:</p>
  
  <pre><code>/usr/local/bin/php
  </code></pre>
  
  <p>How would I need to place php7 (and how to get the bin?) so I can use for example php7 on terminal to execute PHP7 scripts?</p>