SplFileInfo::openFile(/app/tmp/cache/persistent/cake_core_cake_console_):failed to open stream:Permission denied in /lib/…/FileEngine.php line 293

后端 未结 8 1076
孤城傲影
孤城傲影 2020-12-13 20:09

I am working on a CakePHP 2 project. It originally started out in 2.0.x and then recently migrated to 2.1.0. Throughout the whole development process, I have been receivin

8条回答
  •  猫巷女王i
    2020-12-13 20:52

    You can resolve this by adding a mask to your config in core.php

    Cache::config('default', array(
        'engine' => 'File',
        'mask' => 0666,
    ));
    

提交回复
热议问题