Coexistence and efficiency of Zend Opcache and XCache
My blog before the installation of Zend Opcache, have bo friends asked Zend Opcache and XCache in the php.ini who should be in front, worried about whether the efficiency or coexistence problems. So simply said under XCache Zend Guard Loader Zend opcache before php.i my blog installed Zend Opcache, have Bo friends asked Zend Opcache and XCache in the php.ini who should be in front, worried about whether the efficiency or coexistence of the problem. So simply say the next XCache Zend Guard Loader Zend Opcache in php.ini order, but in essence this simply illustrates coexistence.
When configuring Zend Opcache with XCache after the problem:
XCache will be very effective, but Zend Opcache's cache Hits is very small, hit rate and very low, basically Zend Opcache is invalid.
The httpd runs out of memory and makes the httpd "trivial" phenomenon, the site is inaccessible, but the free command to view the memory is not used up (it is not clear what the reason).
After removing the XCache, leaving only Zend Opcache, the test found that the cache hits is normal, and the hit rate is high. You can view the situation with phpinfo (), or you can use the Opcache Control panel to view the cache, hit rate, and so on.
Here, it is not xcache inefficient, it is not suitable for both use at the same time. It is important to note that XCache is no longer supported to load XCache with Zend_extension since version 3.0. Original: http://xiedexu.cn/zend-opcache-xcache.htm