OPcache (Optimizer Plus Cache)

The Zend OPcache component speeds up PHP execution through opcode caching and optimization.

The Zend OPcache improves PHP performance by storing pre-compiled script bytecode in the shared memory. This eliminates the stages of reading code from the disk and compiling it on future access. For further performance improvement, the stored bytecode is optimized for faster execution. This component works out-of-the-box and therefore does not require any configuration or changes to your code.

The Zend OPcache speeds up PHP execution and increases server performance, resulting in better Web application performance.

This component is intended for PHP developers who run complex PHP applications and can benefit from bytecode caching (which is especially helpful for working with Zend Framework).

Zend OPcache works exclusively with Apache or FastCGI environments (no CLI or CGI support). Zend OPcache is disabled when running PHP in CLI mode.