title: How do I install / enable the PHP phar extension?
body: <p>I am trying to install <a href="https://getcomposer.org" rel="noreferrer">Composer</a> on my KnownHost VPS. When I run this command:</p>
  
  <pre><code>curl -sS https://getcomposer.org/installer | php
  </code></pre>
  
  <p>I get this error message:</p>
  
  <pre><code>Some settings on your machine make Composer unable to work properly.
  Make sure that you fix the issues listed below and run this script again:
  
  The phar extension is missing.
  Install it or recompile php without --disable-phar
  </code></pre>
  
  <p>How do I install the phar extension? I am running PHP 5.4.22 on my VPS.</p>