Cakephp cache folder not writable on iis

Cakephp says my cache folder is not writable. I had a look, and IIS has write permissions to the folder.

Warning (512): C:\inetpub\wwwroot\myapp\tmp\cache\ is not writable [CORE\cake\libs\cache\file.php, line 267]
+3
source share
3 answers

It seems that the user you have granted access to is not the user through whom PHP / IIS accesses this folder.

A simple solution is to provide Full Control access for everyone to this folder. This should be reasonably secure, as this folder is not publicly accessible, except with the help of more disturbing incorrect configurations.

, PHP , / . PHP / IIS.

+5

.

0

I had this problem, and this happened because the cache folder was a file. I deleted the file and everything worked perfectly. I assume it was archived with an empty folder or something else. I always wondered why an empty file is inside most empty folders, maybe it prevents this problem.

0
source

All Articles