CakePHP SplFileInfo::openFile(../tmp/cache/..) failed to open stream: Permission denied
You need to configure CakePHP to create the cachefiles with the right permissions.
You do this with setting 'mask' => 0666
in file app.php
for the Cache
setting:
// file src/config/app.php (AND app.default.php!)
...
/**
* Configure the cache adapters.
*/
'Cache' => [
'default' => [
'className' => 'Cake\Cache\Engine\FileEngine',
'path' => CACHE,
'url' => env('CACHE_DEFAULT_URL', null),
'mask' => 0666,
],
...
'_cake_core_' => [
'mask' => 0666,
...
],
'_cake_model_' => [
'mask' => 0666,
...
],
'_cake_routes_' => [
'mask' => 0666,
...
],
...