title: Trying to upload an image in php and a permission denial arises at the move_uploaded_file() function
body: <p>My code gets a permission denied error at the move_uploaded_file() function when I'm trying to save a file into a folder on my server (from the temp folder).</p>
  
  <p>My user has full permissions across all the website directories and files. Is there an apache user that need permissions as well? How do I give permissions to this apache user?</p>
  
  <p>If that isn't the case. Is there a way I can use the php chmod function to fix this problem?</p>
  
  <p>Thanks for the help!</p>