Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I currently updated/upgraded my php to 5.5.11 and want to use the opcache that comes with it.
I enabled the cache and added a few settings to php.ini

zend_extension=/usr/lib/php5/20131313/opcache.so
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
opcache.enable_cli=1

But is this enough? Can i use wordpress caching plugins or there is no need?
I used W3 total cache together with apc until now.
Which wordpress caching plugin should i use now? Any other settings of opcache i should change?

share|improve this question
    
With "zend_extension=/usr/lib/php5/20131313/opcache.so" in the php.ini the opcache was disabled. Now i'm using it together with WP Fastest Cache and site loads very fast. –  CK13 Apr 24 at 9:00

1 Answer 1

up vote 2 down vote accepted

Opcache is transparent for WordPress (as it is to any PHP application).

However if you had been using APC for object cache (key/value store) via plugin — that function is not available in new bundled Zend cache, it only does opcode caching.

You would need to replace object cache with something different (APCu/Memcache/Redis/etc).

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.