I am trying to allow caching for my site using expressionengine 2.0. In my config.php file, I have set the following two parameters:

$config['cache_driver'] = 'file';
$config['cache_path'] = '';

Initially there was no cache directory, so I created a cache directory with 755 permissions. However, on expressengine's admin page, when I try to set caching to File, it keeps on saying in a writing next to it in red:

enter image description here

Note that my cache directory doesn't have anything in it. Its at the correct path


Any help would be much appreciated

  • Some sever setups require 777 permissions on writable directories. Have you tried that? Nov 20 '15 at 15:21
  • That works, but ideally that shouldn't be the solution.
    – Hadi
    Nov 20 '15 at 16:58
  • It all depends on how your server is setup, not really anything EE can do about this - my guess is you're running PHP as a CGI module and the user that process runs under doesn't have the proper file system permissions. Nov 20 '15 at 19:12
  • Makes sense. Ill look into that-Thank you!
    – Hadi
    Nov 20 '15 at 20:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.