Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zend Data Cache: APC compatibility broken #9

Closed
weierophinney opened this issue Dec 31, 2019 · 5 comments
Closed

Zend Data Cache: APC compatibility broken #9

weierophinney opened this issue Dec 31, 2019 · 5 comments
Labels
Bug Something isn't working

Comments

@weierophinney
Copy link
Member

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.


Originally posted by @marc-mabe at zendframework/zend-cache#78

@weierophinney weierophinney added the Bug Something isn't working label Dec 31, 2019
@weierophinney
Copy link
Member Author

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


Originally posted by @thomasvargiu at zendframework/zend-cache#78 (comment)

@weierophinney
Copy link
Member Author

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


Originally posted by @marc-mabe at zendframework/zend-cache#78 (comment)

@weierophinney
Copy link
Member Author

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


Originally posted by @thomasvargiu at zendframework/zend-cache#78 (comment)

@weierophinney
Copy link
Member Author

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


Originally posted by @marc-mabe at zendframework/zend-cache#78 (comment)

@boesing
Copy link
Member

boesing commented Jun 5, 2020

I will close this as with the next minor version, we will bump PHP minimum version to 7.3.
There is no working APC extension for PHP 7.0+ and thus the APC component will not be part of this project.

@Ocramius Just to make sure that I'm on the right track:

  • TSC decided to bump PHP versions in minors
  • PHP version 7.0+ does not have a working APC extension
  • next minor thus can drop the APC class as it wont work either on PHP 7.0+
  • next minor will have several satellites as per TSC voting

Thats a BC break, isnt it? But it might be a problem we probably cannot solve?

@boesing boesing closed this as completed Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants