linux - PHP Write file - Permission Denied -


i can't seem php write text file on apache web server.

the file (log.txt) has owner of "apache:apache" access "-rw-rw-r--", folder owned "apache:apache" , has permissions "drwxrwxr-x"...

every time tried access log.txt, apache log reports "permission denied" on file name.

can help?

thanks.

apache runs user www-data:www-data not apache:apache. sure right uid/gid?

try writing new file , see owns it


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -