<p>I keep getting the error:</p>

<pre><code>mydomain.com/craft/storage/runtime isn't writable by PHP. Please fix that.
</code></pre>

<p>I am running Redhat, and have set the folder permissions to 777, any ideas?</p>

<p>Thanks in advance.</p>

CC BY-SA 3.0
2015-05-14T16:02:59.660Z
What user:group owns that folder and what user:group is Apache running as?  Do you have any openbase_dir restrictions in place?
Brad Bell
CC BY-SA 3.0
2017-05-23T22:45:39.863Z
You should never run anything at 777, especially app files.
Mark Busnelli Jr
CC BY-SA 4.0
2018-12-27T06:35:52.847Z
This is not going to be an issue of permissions — it’s an issue of ownership. You need to look at which user:group owns that directory, and I’m guessing it’s owned by root? Also, as mentioned it’s a bad idea to set the permissions to 777.
Vaughn D. Taylor
<error-message><permissions>
runtime isn't writable by PHP. Please fix that
# runtime isn't writable by PHP. Please fix that

(Asked by: username_0 on 2015-05-14)

I keep getting the error:
mydomain.com/craft/storage/runtime isn't writable by PHP. Please fix that.

I am running Redhat, and have set the folder permissions to 777, any ideas?
Thanks in advance.

**Tags:** error-message, permissions
> **Comments:**
> **username_1**: What user:group owns that folder and what user:group is Apache running as?  Do you have any openbase_dir restrictions in place?  
> **username_2**: You should never run anything at 777, especially app files.  
> **username_3**: This is not going to be an issue of permissions — it’s an issue of ownership. You need to look at which user:group owns that directory, and I’m guessing it’s owned by root? Also, as mentioned it’s a bad idea to set the permissions to 777.  

---

## 0 answers

