zend-cache icon indicating copy to clipboard operation
zend-cache copied to clipboard

Zend Data Cache: APC compatibility broken

Open marc-mabe opened this issue 9 years ago • 5 comments

The Zend Data Cache comes with a compatibility layer for APC but the APC adapter doesn't work with it:

curl -sS -v 'http://localhost/test-zend-cache.php'
* About to connect() to localhost port 80 (#0)
*   Trying ::1...
* Connected to localhost (::1) port 80 (#0)
> GET /test-zend-cache.php HTTP/1.1
> User-Agent: curl/7.29.0
> Host: localhost
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Wed, 17 Feb 2016 21:08:54 GMT
< Server: Apache/2.4.6 (CentOS) PHP/5.6.17
< X-Powered-By: PHP/5.6.15 ZendServer/8.5.2
< ZRay-ID: 0@3936@1455741553@0
< Set-Cookie: ZDEDebuggerPresent=php,phtml,php3; path=/
< Content-Length: 81
< Content-Type: text/html; charset=UTF-8
< 
.............E.......E..EE..E.E.E.....E......E.FF.F.FF......SEEE. 65 / 72 ( 90%)

I currently don't get the full result. Could be a segmentation fault somewhere but it's a bit more work as the Zend Data Cache doesn't run in CLI and this bug is not very impotent.

-> For now if you are using the Zend Data Cache than please use one of the ZendServer[Disk|Shm] adapters.

marc-mabe avatar Feb 17 '16 21:02 marc-mabe

It should be a bug in apcu or acp_bc. Minimum required versions for each PHP versions are corrected in tests included in #153

thomasvargiu avatar Apr 18 '18 16:04 thomasvargiu

@thomasvargiu this issue is not about apcu_bc, this is about the apc compatibly layer of the zend data cache (part of zend server)

marc-mabe avatar Apr 20 '18 07:04 marc-mabe

@marc-mabe Ok, I don't know Zend Data Cache, but I think it could be a problem of Zend Data Cache. What do you think? And it's a 2 years old issue.

thomasvargiu avatar Apr 20 '18 08:04 thomasvargiu

@thomasvargiu Needs to be checked with the current Zend Server version if the problem still persist. If so it should either be fixed (FZ or Zend Server) or at least be documented -> to use the specialized ZendServer[Disk|Shm] adapters.

marc-mabe avatar Apr 20 '18 15:04 marc-mabe

This repository has been closed and moved to laminas/laminas-cache; a new issue has been opened at https://github.com/laminas/laminas-cache/issues/9.

weierophinney avatar Dec 31 '19 21:12 weierophinney