This VPS is running with PHP 5.4.25. Zend OPcache is a built-in module in PHP 5.4.25.
I have Xcache installed before. Today, I removed it and just use OPcache.
When I use Xcache and Opcache at the same time. And config Database cache and object cache to use opcode:Xcache. I found the Xcache doesn’t help me a lot. See screenshot below.
PHP scripts are not cached in Xcache entirely. I thought Zend OPcache is working on php scripts.
Continue reading “Do you still need Xcache when you have PHP Opcache”
Zend Opcache is an open source component of Zend Server and Zend Server Community Edition. Zend Opcache speeds up PHP execution by opcode caching and optimization. It stores precompiled script bytecode in shared memory. This eliminates the stages of reading code from the disk and compiling it on future access. For further performance improvements, the stored bytecode is optimized for faster execution. Unlike Zend Optimizer, Zend Opcache doesn’t load files encoded by Zend Guard. Zend provides another component, Zend Guard Loader, in order to load encoded applications with Zend Server and Zend Server Community Edition.
Zend Optimizer+ was renamed to Zend Opcache mid of March 2013.
Starting with PHP 5.5 the Zend Opcache is integrated and shipped with PHP.
PHP version: full support for PHP 5.2+
Latest stable version: 7.0.2
Status: Actively maintained
Continue reading “Zend Opcache is a Must Have extension of PHP”
I use the new PHP with Opcache v7.0.3. I want to see how it works, just like xcache. Xcache has its official administrator page. OPcache does not have one. So I googled some and installed three control panels.
1. OCP – Opcache Control Panel