Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistent cache #33

Closed
ghost opened this issue Aug 3, 2013 · 2 comments
Closed

Persistent cache #33

ghost opened this issue Aug 3, 2013 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 3, 2013

The file cache is deleted on server restart. I would like it to remain and honour the expiry I have set which in my case is 28 days.

@khoaofgod
Copy link
Member

Hi there.
Use phpFastCache::$path = "/home/real_path_to/your_site/";

Then CHMOD 0777 for that folder.
I think because you're using PHP as module under Apache, so the phpfastcache doesn't want to border you about CHMOD, it used the /tmp path for caching, and when server restart the /tmp is clear.

@khoaofgod
Copy link
Member

Let me know if it fix your case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant