-
Notifications
You must be signed in to change notification settings - Fork 180
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
sfAPCCache fail #125
Comments
Couldn't reproduce it with https://github.com/ingatlancom/symfony1/tree/sfAPCCache on any PHP version I have at hand. Even tried with PHP 5.3.29 like travis, but worked fine. I suspect some APC configuration quirkiness so tried using the settings from travis apc.ini but still no luck. Is anyone able to reproduce this outside of travis? |
Is |
Yes,
Same with PHP 5.6 and PHP 7.0. |
The tests that fail seem to be where a negative ttl on |
on my setup, php 5.3.10, it also fails the same tests, even if i'm disabling |
apc version is 3.1.7 |
APC 3.1.13
|
https://www.diffchecker.com/c78vfj3l |
Tried with your APC settings and the test still passed. What's your output for
? I get
Some more info on APC setup:
Are you able to try APC 3.1.13 on your system? |
so it seems to be a bug in the apc version, I'll try to upgrade to test this
|
no, I've updated
and the output is still
|
Well, the expected behavior of negative TTLs on apc_store to remove keys is not actually mentioned on the documentation. In fact, the key expiration does mention that the expired values are expunged from cache "on the next request". Still, it seems to work fine on some setups and not on others which could be a bug on APC. Would be great to get @krakjoe to chime in on this as it seems something related with APC internals. |
Closing as failures with APCu are (mostly) related to the incompatible Possible solutions:
|
The tests on travis run without apc enabled for cli, so the sfAPCCacheTest just skips itself.
If I enable it in php.ini, they fail, as you can see here
The text was updated successfully, but these errors were encountered: