title: Change Default version of PHP that is called on the command line
body: <p>is there a way to change the default version of PHP that is called on the command line?</p>
  
  <p>I am trying to install Laravel using composer the problem is composer is calling php (which is version 4.4) when it needs to call php5.4, i have changed the binary in the header from <code>#!/usr/bin/env php</code> to <code>#!/usr/bin/env php5.4</code> but this throws an error!</p>
  
  <p>here is my php set-up</p>
  
  <pre><code>php: /usr/bin/php /usr/bin/php5.4 /usr/bin/php5.5 /usr/lib/php /usr/lib/php.ini-nourl /usr/lib/php.ini /usr/lib/php5.4 /usr/lib/php5.5 /usr/local/bin/php /usr/local/bin/php5.4 /usr/local/bin/php5.5 /usr/local/lib/php.ini-nourl /usr/include/php /usr/include/php5.4 /usr/include/php5.5 /usr/local/php /usr/share/php
  </code></pre>