title: fopen() not working
body: <p>I'm want to read a simple string from a text file which is around 3-4 mb but fopen() fails ("can't open file" from die() is called). Here's the code:</p>
  
  <pre><code>clearstatcache();
  $fh = fopen("/my/path/to/file.txt", "r") or die("can't open file");
  $sql = fread($fh,filesize("/my/path/to/file.txt"));
  </code></pre>