title: PHP change folder owner to apache
body: <p>So I created a couple of directories and files with FTP, thus the owner is the username I use to login to the server. Now I'd like to allow users of the website to upload images to those directories. Unfortunately for the website to store images, it should be owned by Apache. How can I fix this? I've been reading around on this but can't directly find an answer.</p>
  
  <p>I don't have SSH, so I guess all command-line-things are not applicable for me.</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I tried to then make the folders again using apache, but now ofcourse I can't write any files using ftp into those directories.</p>