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 -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -