Zend Server User Guide > Concepts > OPcache

OPcache (Optimizer Plus Cache)

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

Note:

OPcache is only available on Zend Server on PHP 5.5.

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).

Notes:

Zend OPcache works exclusively with Apache or FastCGI environments (no CLI or CGI support).

Zend OPcache is disabled when running PHP in CLI mode.

 

Read Also

  Working with OPcache    
  Zend OPcache Configuration Directives    
 

Zend OPcache PHP API