---
title: "Wordpress HTTP Error"
canonical: "https://techwiki.co.uk/cms/wordpress-http-error"
author: "Adam Birds"
article_type: "documentation"
published: "2026-08-10T23:29:57.886Z"
updated: "2026-08-10T23:29:57.886Z"
categories: ["Cms"]
tags: []
---**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: 46.37.189.40, server: ryan.phobos.info, request: "POST /wp-admin/async-upload.php HTTP/1.1", host:

```
