title: fopen() Permission denied
body: <p>I have an issue that I cannot create any files using fopen.</p>
  
  <p>I am using this as a test:</p>
  
  <pre><code>&lt;?php
  $myfile = fopen("testfile.txt", "w")
  ?&gt;
  </code></pre>
  
  <p>and this error is output in NewRelic (and no testfile.txt is not created):</p>
  
  <blockquote>
    <p>fopen(testfile.txt): failed to open stream: Permission denied</p>
  </blockquote>