title: PHP's copy() fails when executed from Apache, why?
body: <p>I'm copying  a file from <code>$source</code> to <code>$destination</code>.</p>
  
  <p>If I execute <code>copy($source, $destination)</code> from PowerShell, it works.</p>
  
  <p>If I call this <code>copy($source, $destination)</code> from Apache, it complains <code>copy(...): failed to open stream: Permission Denied.</code></p>
  
  <p>I am able to open up explorer and copy and paste file manually. I am using PHP 7.1, Apache 2.4 on Windows Server 2012R2.</p>
  
  <p>Why is this happening? Could someone provide an insight? </p>