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?
1 Answer
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
).
-
it actually does something but still it doesn't work. same errors as before.– ChobeatCommented Jul 23, 2011 at 7:51