0

.

I think it's self explaining. It says it's not writable but the permissions are correct. I'm logged as a root but it's the same for every user. So where's the problem?

2
  • OMG this is a 777, do not trust any answer containing a 777, it's like a del .
    – regilero
    Commented Jul 23, 2011 at 9:27
  • does the server have selinux installed/enabled?
    – contrebis
    Commented Jul 24, 2011 at 1:54

1 Answer 1

1

PHP, when running in safe mode, enforces some additional security constraints on file access, over and above underlying file-system permissions. See the note about fopen on this page

It says:

Checks whether the directory in which the script is operating has the same UID (owner) as the script that is being executed.

You should chown the tmp/cache to belong to your webserver's user (usually apache).

1
  • it actually does something but still it doesn't work. same errors as before.
    – Chobeat
    Commented Jul 23, 2011 at 7:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .