Answers for "nginx php logs permission denied cant open file in append mode"

1

nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)

sudo chown -R www-data:www-data /var/log/nginx;
sudo chmod -R 755 /var/log/nginx;
Posted by: Guest on November-29-2020

Code answers related to "nginx php logs permission denied cant open file in append mode"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language