Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Cache/Storage/Adapter/APC.php work with APCU #4101

Closed
remicollet opened this issue Mar 23, 2013 · 4 comments
Closed

Cache/Storage/Adapter/APC.php work with APCU #4101

remicollet opened this issue Mar 23, 2013 · 4 comments

Comments

@remicollet
Copy link

APCu is an dropin replacement for APC (only user cache, no opcode cache)
See https://github.com/krakjoe/apcu

Please consider this minor change, which allow Zend to use both extension
In Cache/Storage/Adapter/APC.php

   if (version_compare('3.1.6', phpversion('apc')) > 0 
       && version_compare('3.1.6', phpversion('apcu')) > 0) {
        throw new Exception\ExtensionNotLoadedException("Missing ext/apc >= 3.1.6");
    }
@marc-mabe
Copy link
Member

I already know about this project but I would like to wait a while before do some actions.

@mwillbanks
Copy link
Contributor

I agree with Marc. APC will eventually be just a user cache with OpCache
landing in php 5.5.
On Mar 24, 2013 12:39 PM, "Marc Bennewitz" notifications@github.com wrote:

I already know about this project but I would like to wait a while before
do some actions.


Reply to this email directly or view it on GitHubhttps://github.com//issues/4101#issuecomment-15366849
.

@remicollet
Copy link
Author

You can forget close this request, I have work with APCU author to have a real full compat mode.
See krakjoe/apcu#7

@tmquang6805
Copy link

@remicollet
That you mean, nowaday I can use APCu extension with ZF2 without change code or anything to do.

Thanks a lot

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants