CI 2.0 missing memcache config file |
[eluser]joshfng[/eluser]
The user guide says the there should be a config file for memcache located in the application/config/ directory but there is not one there. Is it located somewhere else?
[eluser]joshfng[/eluser]
http://ellislab.com/codeigniter/user-gui...#memcached says its located in the config directory but it is not. If I am supposed to create it myself the docs give no details on what the caching class expects in terms of a config array to pass it.
[eluser]Victor Michnowicz[/eluser]
Yeah, I assumed it was in there as well. I think something like this would go in your memcached.php config file (I have not tested this): Code: <?php You also gotta remember that memcached is different than memcache. That got me for a while... I created (really just search/replaced) a memcache driver if you are interested. It seems to work well for me.
[eluser]joshfng[/eluser]
Hmm I tried the config file you gave me and it's not working. The weird thing is if I connect to memcached directly using just the memcached ext everything connects and works fine.
[eluser]Unknown[/eluser]
I'd really like to know what to do with this ... Any help would be greatly appreciated
[eluser]Unknown[/eluser]
I think the memcached.php config file has to be like this Code: <?php At least that worked for me. Also keep in mind what elvicmic mentioned. Memcached and memcache are different extensions. Check your php.ini which extension is loaded.
[eluser]CoderBoy[/eluser]
Yeah same as m3du54, my memcached.php file Code: <?php
|
Welcome Guest, Not a member yet? Register Sign In |