Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 953 Bytes

File metadata and controls

42 lines (25 loc) · 953 Bytes

The Zend OPcache extension

This extension enables the PHP OPcode caching engine.

Configuration options

PHP_EXT_OPCACHE

🔴 Removed as of PHP 8.5.

  • Default: ON
  • Values: ON|OFF

Enables the extension. This extension is always built as shared when enabled. As of PHP 8.5, this extension is always enabled and cannot be disabled.

PHP_EXT_OPCACHE_HUGE_CODE_PAGES

  • Default: ON
  • Values: ON|OFF

Enables copying PHP CODE pages into HUGE PAGES.

Note

This option is not available when the target system is Windows.

PHP_EXT_OPCACHE_JIT

  • Default: ON
  • Values: ON|OFF

Enables JIT (just-in-time) compilation.

PHP_EXT_OPCACHE_CAPSTONE

  • Default: OFF
  • Values: ON|OFF

Enables OPcache JIT disassembly through Capstone engine.