CakePHP cache was unable to write in Centos 7 CakePHP cache was unable to write in Centos 7 apache apache

CakePHP cache was unable to write in Centos 7


Okay, this helped me:

setsebool -P httpd_unified 1

put this in console


sudo chmod -R 777 tmp always worked for me, once bash in the app folder


Beside checking file/folder ownership and permissions, check if you have SELinux properly configured. In my local env, I prefer to switch it off commpletely.

setenforce 0