MESSENGERV2 - wrong permissions for /var/log/lfd_messenger.log
Posted: 22 Feb 2018, 23:41
I've just enabled MESSENGERV2 on two servers and tested it, I get this php error: "Warning: file_put_contents(/var/log/lfd_messenger.log) [function.file-put-contents]: failed to open stream: Permission denied in /home/csf/public_html/index.php on line 69"
File permissions:
-rw------- 1 csf csf 0 Feb 18 03:51 /var/log/lfd_messenger.log
I think the problem is that php runs under the user of the domain on which the error pops up and this user can't write into the file. If I change the permissions to 777 unblocking works but the entry is NOT written into it,
Thanks
File permissions:
-rw------- 1 csf csf 0 Feb 18 03:51 /var/log/lfd_messenger.log
I think the problem is that php runs under the user of the domain on which the error pops up and this user can't write into the file. If I change the permissions to 777 unblocking works but the entry is NOT written into it,
Thanks