Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Please help me to understand where is difference between APC and APCu lies. While inspecting CentOS web-server (set up not by me) found that it has APCu 4.0.2 installed and phpinfo(); reports that APC Emulated. It was bit confusing, anyway tried to use settings for normal APC in php.ini

apc.enabled=1
apc.shm_size = 768M                       
apc.cache_by_default = 0                  
apc.filters="+domain.com,+anotherdomain.com"
apc.stat = 0 
apc.max_file_size=2M

Then checked apc.php status page and it revealed that only apc.shm_size changed, but no cache entries for selected domains. So how can i adapt APCu to cache selected domains as APC did ?

share|improve this question
    
Did you find an answer to this? –  Tallboy Apr 30 at 6:27
    
@Tallboy Seems apc support has been dropped in php 5.5. Now APC bundled in php 5.5 core. –  Demontager May 1 at 9:22

1 Answer 1

up vote 1 down vote accepted

Since version 5.5, PHP comes with the Zend OpCache engine that substitutes APC. APC had two parts. The APC opcache that is no longer used and is instead emulated in php 5.5, and the APC cache that you can use to store data. That part is now used through the APCu extension.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.