title: PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
body: <p>I start with PHP, wampserver and Composer on windows 10 and it will be a week that I can not fix this problem: When I type: </p>
  
  <pre><code>php -S localhost:8000 -d display_errors = 1 public/
  </code></pre>
  
  <p>on the browser by running: "localhost:8000/test", I have this error: </p>
  
  <blockquote>
    <p>Warning: Unknown: failed to open stream: Permission denied in Unknown
    on line 0</p>
    
    <p>Fatal error: Unknown: Failed opening required 'public/' (include_path
    = '.;C:\wamp64\bin\php7.1.9\pear') in Unknown on line 0</p>
  </blockquote>
  
  <p>I installed the famous "pear", I modify the access mode to my project with: </p>
  
  <pre><code>chmod -R 777 or 755 myFramework
  </code></pre>
  
  <p>I even touched <strong>php.ini</strong> in apache folder and in php folder to add this line :</p>
  
  <pre><code>include_path
  = '.;C:\wamp64\bin\php7.1.9\pear'
  </code></pre>
  
  <p>But nothing is working ! Can you help me ?</p>