Open kieste opened 9 years ago
yes.. it is called "prefix".. see:
LswMemcacheBundle/DependencyInjection/Configuration.php
Thanks for your reply. But isn't the prefix option only an option for session or doctrine?
Ah, now I get the question! The memcached PHP extension had a (native) "prefix_key" option (for all operations including session, doctrine and firewall). The memcache (without d) PHP extension does not have this option, thus v2 does not have it. Does that answer the question?
@mevdschee so how to use this bundle with multiple websites on one server? I'm always getting ReflectionException(one website is working fine, but another returning one of this errors, because memcached use one cached data for all websites)
Property Entity\Category::$name does not exist or Property Entity\Category::$title does not exist
@kironet I don't know. Maybe somebody else does?
NB: A workaround might be to start another memcached on another port and use that.
Is not there another solution instead of using a another port?
Does lmb 2.x support a "prefix_key" option like 1.x did?