title: installing composer on a shared host
body: <p>I am trying to install composer on my shared host for the first time.</p>
  
  <p>When I run <code>curl -sS https://getcomposer.org/installer | php</code> 
  I am getting a Composer successfully installed<br>
  User it: <code>php composer.phar</code></p>
  
  <p>when I run <code>php composer.phar</code> i am getting this warring error: </p>
  
  <p><strong>Warning: Composer should be invoked via the CLI version of PHP, not the cgi-fcgi SAPI</strong></p>
  
  <p>any ideas on how to fix this ? and why i am getting this error ? :(</p>
  
  <p>when I run <code>php -v</code> i get this back</p>
  
  <pre><code>PHP 5.4.39 (cgi-fcgi) (built: Mar 25 2015 14:20:20)  
  Copyright (c) 1997-2014 The PHP Group  
  Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies  
      with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies
  </code></pre>
  
  <p><em>Do I need to run this using CLI version if so how would i do this ?</em></p>
  
  <p>Any help would be nice thank you.</p>