zendframework / zend-cache

BSD 3-Clause "New" or "Revised" License
69 stars 53 forks source link

Zend Data Cache: APC compatibility broken #78

Open marc-mabe opened 8 years ago

marc-mabe commented 8 years ago

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.

thomasvargiu commented 6 years ago

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

marc-mabe commented 6 years ago

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

thomasvargiu commented 6 years ago

@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.

marc-mabe commented 6 years ago

@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.

weierophinney commented 4 years ago

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.