Skip to content

Instantly share code, notes, and snippets.

@ammarfaizi2
Created December 2, 2018 03:25
Show Gist options
  • Save ammarfaizi2/0f4668745694abef22c61bd348b1f8a0 to your computer and use it in GitHub Desktop.
Save ammarfaizi2/0f4668745694abef22c61bd348b1f8a0 to your computer and use it in GitHub Desktop.
[opcache]
opcache.enable=1
opcache.enable_cli=1
opcache.memory_consumption=128
;opcache.interned_strings_buffer=8
;opcache.max_accelerated_files=10000
;opcache.max_wasted_percentage=5
opcache.use_cwd=1
opcache.validate_timestamps=0
;opcache.revalidate_freq=2
;opcache.revalidate_path=0
;opcache.save_comments=1
;opcache.enable_file_override=0
opcache.optimization_level=0xffffffff
;opcache.inherited_hack=1
;opcache.dups_fix=0
;opcache.blacklist_filename=
;opcache.max_file_size=0
opcache.consistency_checks=0
;opcache.force_restart_timeout=180
;opcache.error_log=
;opcache.log_verbosity_level=1
;opcache.preferred_memory_model=
;opcache.protect_memory=0
;opcache.restrict_api=
;opcache.mmap_base=
opcache.file_cache=/tmp/php-opcache
;opcache.file_cache_only=0
;opcache.file_cache_consistency_checks=1
; Implies opcache.file_cache_only=1 for a certain process that failed to
;opcache.file_cache_fallback=1
;opcache.huge_code_pages=1
;opcache.validate_permission=0
opcache.validate_root=0
;opcache.opt_debug_level=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment