title: Cannot download composer - 1and1 with ssh access to server
body: <p>I have SSH access to my 1and1 server. I am trying to download composer.</p>
  
  <p>Following instructions from <a href="http://getcomposer.org/download/" rel="noreferrer">http://getcomposer.org/download/</a></p>
  
  <p>Attempt 1:</p>
  
  <pre><code>user:~ &gt; curl -sS https://getcomposer.org/installer | php
  X-Powered-By: PHP/4.4.9
  Content-type: text/html
  
  &lt;br /&gt;
  &lt;b&gt;Parse error&lt;/b&gt;:  syntax error, unexpected '{' in &lt;b&gt;-&lt;/b&gt; on line &lt;b&gt;316&lt;/b&gt;&lt;br /&gt;
  </code></pre>
  
  <p>Attempt 2:</p>
  
  <pre><code>php -r "eval('?&gt;'.file_get_contents('https://getcomposer.org/installer'));"
  Error in argument 1, char 2: option not found r
  Usage: php [-q] [-h] [-s] [-v] [-i] [-f &lt;file&gt;] 
         php &lt;file&gt; [args...]
    -a               Run interactively
    -b &lt;address:port&gt;|&lt;port&gt; Bind Path for external FASTCGI Server mode
    -C               Do not chdir to the script's directory
    -c &lt;path&gt;|&lt;file&gt; Look for php.ini file in this directory
    -n               No php.ini file will be used
    -d foo[=bar]     Define INI entry foo with value 'bar'
    -e               Generate extended information for debugger/profiler
    -f &lt;file&gt;        Parse &lt;file&gt;.  Implies `-q'
    -h               This help
    -i               PHP information
    -l               Syntax check only (lint)
    -m               Show compiled in modules
    -q               Quiet-mode.  Suppress HTTP Header output.
    -s               Display colour syntax highlighted source.
    -v               Version number
    -w               Display source with stripped comments and whitespace.
    -z &lt;file&gt;        Load Zend extension &lt;file&gt;.
  </code></pre>
  
  <p>Am I doing something obviously wrong?</p>
  
  <p>I know that it is saying that I am running php 4.4.9, but if I run phpinfo(), it says <code>PHP Version 5.4.21</code> is running. Any suggestions on what is going on here?</p>
  
  <p><strong>phpinfo()</strong>
  <img src="https://i.stack.imgur.com/I7zcf.png" alt="phpinfo()"></p>
  
  <p><strong>php -v</strong>
  <img src="https://i.stack.imgur.com/b9tzo.png" alt="php -v"></p>