We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
There seems to be a mismatch in the code with apc and apcu.
The Apc driver specifically uses apcu e.g.
public function has($key) { return \apcu_exists($key); }
however the "default cache" method checks for the wrong extension e.g.
if (extension_loaded('apc') && ini_get('apc.enabled')) { return new ApcCache(); }
extension_loaded('apc') returns false.
extension_loaded('apc')
false
This is because it's registered as apcu
apcu
Changing the code to extension_loaded('apcu') fixes the problem and enables the built in cache.
extension_loaded('apcu')
--
Can we look into getting this patched and released?
Thanks :)
The text was updated successfully, but these errors were encountered:
@OwenMelbz I'm happy to tell you, that this issue was finally fixed in feat!: support PHP 8 #190
To make use of this change please upgrade to Version 5.2.0
Sadly, I couldn't use your old PR, since the branch got deleted. I will proceed to close this issue.
If you run into any trouble with the package again, please feel free to open up a new Issue
Sorry, something went wrong.
No branches or pull requests
Hi,
There seems to be a mismatch in the code with apc and apcu.
The Apc driver specifically uses apcu e.g.
however the "default cache" method checks for the wrong extension e.g.
extension_loaded('apc')
returnsfalse
.This is because it's registered as
apcu
Changing the code to
extension_loaded('apcu')
fixes the problem and enables the built in cache.--
Can we look into getting this patched and released?
Thanks :)
The text was updated successfully, but these errors were encountered: