title: Could not open input file: composer.phar
body: <p>I am trying to install <strong>zendframework</strong> using composer tool in wamp server.</p>
  
  <p>The following steps are done towards installation</p>
  
  <ol>
  <li><p>I downloaded the Composer-Setup.exe file from composer page and got successfully installed.</p></li>
  <li><p>I downloaded the <strong>zendframework</strong> and extracted inside the <code>c:\wamp\www\zend</code> folder</p></li>
  <li><p>I executed the command for self update</p>
  
  <p><code>php composer.phar self-update</code></p></li>
  </ol>
  
  <p>This line generates the error message: <code>could not open file composer.phar</code></p>
  
  <p><strong>how to resolve this error</strong></p>
  
  <p>If I try the </p>
  
  <pre><code>composer.phar self-update
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/JdBGC.png" alt="enter image description here"></p>