- Source code: ext/opcache/CMakeLists.txt
This extension enables the PHP OPcode caching engine.
🔴 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.
- 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.
- Default:
ON - Values:
ON|OFF
Enables JIT (just-in-time) compilation.
- Default:
OFF - Values:
ON|OFF
Enables OPcache JIT disassembly through Capstone engine.