title: PHP Warning: Unknown: failed to open stream
body: <p>I edited the apache httpd.conf file recently for the mod_rewrite to work. I don't know if this problem originated from that or not, but i'm getting this problem from that day.<br>
  This is what I see on the frontend when I run the software -  </p>
  
  <blockquote>
    <p>Server error The website encountered
    an error while retrieving
    <a href="http://localhost/prestashop/" rel="noreferrer">http://localhost/prestashop/</a>. It may
    be down for maintenance or configured
    incorrectly.</p>
  </blockquote>
  
  <p>There is no specific file that triggers this. But I saw that usually small programs that consists of 4-5 php files, runs fine, but softwares with a lot of files(like PrestaShop) don't.<br>
  I checked the logs and this is what I found.</p>
  
  <pre><code>[Wed Mar 16 19:33:39 2011] [error] [client ::1] PHP Warning:  Unknown: failed to open stream: Permission denied in Unknown on line 0
  [Wed Mar 16 19:33:39 2011] [error] [client ::1] PHP Fatal error:  Unknown: Failed opening required '/var/www/html/yomig/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
  [Wed Mar 16 19:33:39 2011] [error] [client ::1] File does not exist: /var/www/html/favicon.ico
  [Wed Mar 16 19:33:41 2011] [error] [client ::1] PHP Warning:  Unknown: failed to open stream: Permission denied in Unknown on line 0
  [Wed Mar 16 19:33:41 2011] [error] [client ::1] PHP Fatal error:  Unknown: Failed opening required '/var/www/html/yomig/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
  </code></pre>