Opcache Control Panel

Details Files Reset Recheck Refresh
memory
320M
295M92%free
25M7%used
0wasted
keys
128K
127K99%free
599scripts
562wasted
hits
724K
724K99%hits
599misses
0blacklist
restarts
1
1manual
0keys
0memory

general

Hostip-172-31-1-240.ap-southeast-1.compute.internal
PHP VersionPHP 7.4.33 fpm-fcgi Linux
Opcache VersionZend OPcache 7.4.33
Opcode Caching Up and Running
Optimization Enabled
SHM Cache Enabled
File Cache Disabled
Startup OK
Shared memory model mmap
Uptime3 weeks and 1 hour
Last Restart2 weeks ago

memory

Used Memory24.5M
Free Memory295.5M
Wasted Memory0
Current Wasted Percentage0

statistics

Num Cached Scripts599
Num Cached Keys1161
Max Cached Keys130987
Hits740995
Oom Restarts0
Hash Restarts0
Manual Restarts1
Misses599
Blacklist Misses0
Blacklist Miss Ratio0
Opcache Hit Rate99.9

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_consumption320320
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