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
Post a Comment