Wordpress HTTP Error

From Tech Wiki
Jump to navigation Jump to search

If you are suffering from a HTTP Error when uploading images and media to Wordpress run the following commands:

mkdir -p /var/lib/nginx
chown -R webuser:webgroup /var/lib/nginx

This can be solved from the following similar log entry:

2016/02/17 11:09:22 [crit] 14693#0: *3 open() "/var/lib/nginx/tmp/client_body/0000000001" failed (13: Permission denied), client:, server: ryan.phobos.info, request: "POST /wp-admin/async-upload.php HTTP/1.1", host: