Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Compatibility issues with ZF3 #117

Closed
drgomesp opened this issue Oct 25, 2016 · 2 comments
Closed

Compatibility issues with ZF3 #117

drgomesp opened this issue Oct 25, 2016 · 2 comments
Assignees

Comments

@drgomesp
Copy link

Hello everyone.

I'm currently running through the process of migrating my ZF2 application to ZF3. I got stuck in a nasty issue which I cannot get around.

Essentially, when Memcached is called for the first time during the application bootstrap phase, the extension throws a response error code (@see http://php.net/manual/en/memcached.getresultcode.php) RES_HOST_LOOKUP_FAILURE.

However, if I simply try to create a server and connect, set and get a key via php -a, I'm able to do it. Do we have support for ZF3 here? Or for Memcached?

@marc-mabe
Copy link
Member

@drgomesp zend-cache should be fully compatible with zend-eventmanager, zend-servicemanager and zend-stdlib since version 2.6.1.

RES_HOST_LOOKUP_FAILURE means that the DNS lookup failed. Please recheck your host setup and debug what values gets used here: https://github.com/zendframework/zend-cache/blob/master/src/Storage/Adapter/MemcachedResourceManager.php#L163 and report back if you thing zend-cache does something wrong incl. your configuration and findings.

Thanks

@Ocramius
Copy link
Member

Duplicate of zendframework/zendframework#7742

Issue spawns from doctrine caching, apparently.

Closing here, as it's cross-posted.

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

No branches or pull requests

3 participants