Opcache Control Panel

Details Files Reset Recheck Refresh
memory
192M
178M92%free
14M7%used
0wasted
keys
128K
128K99%free
1scripts
0wasted
hits
3
266%hits
133%misses
0blacklist
restarts
86
7587%manual
0keys
1112%memory

general

Hostip-10-0-141-9.cn-north-1.compute.internal
PHP VersionPHP 7.4.30 fpm-fcgi Linux
Opcache VersionZend OPcache 7.4.30
Opcode Caching Up and Running
Optimization Enabled
SHM Cache Enabled
File Cache Disabled
Startup OK
Shared memory model mmap
Uptime2 years and 7 hours
Last Restart5 minutes ago

memory

Used Memory14M
Free Memory178M
Wasted Memory0
Current Wasted Percentage0

statistics

Num Cached Scripts1
Num Cached Keys1
Max Cached Keys130987
Hits2
Oom Restarts11
Hash Restarts0
Manual Restarts75
Misses1
Blacklist Misses0
Blacklist Miss Ratio0
Opcache Hit Rate66.7

runtime

DirectiveLocal ValueMaster Value
opcache.blacklist_filenameno valueno value
opcache.consistency_checks00
opcache.dups_fixOffOff
opcache.enableOnOn
opcache.enable_cliOnOn
opcache.enable_file_overrideOffOff
opcache.error_logno valueno value
opcache.file_cacheno valueno value
opcache.file_cache_consistency_checksOnOn
opcache.file_cache_onlyOffOff
opcache.file_update_protection22
opcache.force_restart_timeout180180
opcache.huge_code_pagesOffOff
opcache.interned_strings_buffer88
opcache.lockfile_path/tmp/tmp
opcache.log_verbosity_level11
opcache.max_accelerated_files100000100000
opcache.max_file_size00
opcache.max_wasted_percentage55
opcache.memory_consumption192192
opcache.opt_debug_level00
opcache.optimization_level0x7FFEBFFF0x7FFEBFFF
opcache.preferred_memory_modelno valueno value
opcache.preloadno valueno value
opcache.preload_userno valueno value
opcache.protect_memoryOffOff
opcache.restrict_apino valueno value
opcache.revalidate_freq6060
opcache.revalidate_pathOffOff
opcache.save_commentsOnOn
opcache.use_cwdOnOn
opcache.validate_permissionOffOff
opcache.validate_rootOffOff
opcache.validate_timestampsOnOn

functions

opcache_reset
opcache_invalidate
opcache_compile_file
opcache_is_script_cached
opcache_get_configuration
opcache_get_status

optimization levels

PassDescription
1Constants subexpressions elimination (CSE) true, false, null, etc.
Optimize series of ADD_STRING / ADD_CHAR
Convert CAST(IS_BOOL,x) into BOOL(x)
Convert INIT_FCALL_BY_NAME + DO_FCALL_BY_NAME into DO_FCALL
2Convert constant operands to expected types
Convert conditional JMP with constant operands
Optimize static BRK and CONT
3Convert $a = $a + expr into $a += expr
Convert $a++ into ++$a
Optimize series of JMP
4PRINT and ECHO optimization (defunct)
5Block Optimization - most expensive pass
Performs many different optimization patterns based on control flow graph (CFG)
9Optimize register allocation (allows re-usage of temporary variables)
10Remove NOPs
directives guide | functions guide | wiki.php.net | pecl | Zend source | OCP latest