How to fix – Apache HTTPD or PHP cannot write to folder

F.A.Q.'s, How To's, LAMP, P.C. Linux, Ubuntu, Ubuntu Server

All you have to do is run this command on the folder you are trying to write to:

chown -R www-data /foo/dir

Just replace /foo/dir with your directory needing access. you may need to add sudo in front of your command.

No Comments

Leave a Reply

You must be logged in to post a comment.