title: How can I allow php to create files with the same ownership as the files that created them?
body: <p>PHP creates files with apache:apache ownership which seems to be causing issues with other php scripts accessing the file.</p>
  
  <p>How can I allow php to create files with the same ownership as the files that created them?</p>
  
  <p>I've read elsewhere that having safe_mode turned on can affect this but I've turned it off and reuploaded the files and i still get the same issue.</p>
  
  <p>I'm sure this will be a simple question for someone more familiar with apache but I've failed to find the solution by searching around.</p>
  
  <p>Thanks</p>