title: Warning: file_put_contents(symfony): failed to open stream: Permission denied in Command line code on line 1
body: <p>I am trying to install the Symfony 2:</p>
  
  <pre><code>php -r "file_put_contents('symfony', file_get_contents('https://symfony.com/installer'));"
  </code></pre>
  
  <p>But I am getting this error:</p>
  
  <blockquote>
    <p>Warning: file_put_contents(symfony): failed to open stream: Permission
    denied in Command line code on line 1</p>
  </blockquote>
  
  <p>Please help me in resolving this. Thanks</p>