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

Cache redis or memcached #2909

Closed
samirios182805 opened this issue Apr 30, 2020 · 5 comments
Closed

Cache redis or memcached #2909

samirios182805 opened this issue Apr 30, 2020 · 5 comments

Comments

@samirios182805
Copy link

Hello first, I would like to thank everyone for the great work they are doing. Congratulations

I have a query when using cache memcached or redis does not work

it does not make any cache and that is configured correctly

I would like help

@jlamim
Copy link
Contributor

jlamim commented Apr 30, 2020

@samirios182805 Is there an error on the screen or in the log file? If so, share the error message as it helps us better understand the scenario.

Also inform the version of CI, PHP and the Operating System used.

@samirios182805
Copy link
Author

use windows 10, laragon redis php 7.2 Codeigniter 4.0.2
does not show any errors only does not cache in redis only in file

App/Config/Cache.php

public $handler = 'file'; working
public $handler = 'redis'; not working no create cache 

@jlamim
Copy link
Contributor

jlamim commented May 1, 2020

@samirios182805 Can you do a test using predis' when using redis` and give feedback?

@samirios182805
Copy link
Author

sorry it works for me apparently it had redis installed but the windows extension does not check files for files and it did not show me any errors, maybe you can put a warning if your version of php does not have the redis extension

@michalsn
Copy link
Member

michalsn commented May 2, 2020

The whole idea behind the backup handlers is to avoid showing errors directly.
You can always check your logs. Any error will be mentioned there.

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

3 participants