Nginx file upload error

When uploading a file on a PHP Application running under an Nginx web server, I get the following error

The error was due to wrong ownership for folder /var/lib/nginx/tmp/client_body/ or one of its parent folders.

On this web server, nginx was running as user nobody, so to fix the error, I run the following command

See Nginx

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *