|
@@ -1770,14 +1770,14 @@ opcache.enable=1
|
|
|
;opcache.enable_cli=0
|
|
|
|
|
|
; The OPcache shared memory storage size.
|
|
|
-;opcache.memory_consumption=128
|
|
|
+opcache.memory_consumption=256
|
|
|
|
|
|
; The amount of memory for interned strings in Mbytes.
|
|
|
-;opcache.interned_strings_buffer=8
|
|
|
+opcache.interned_strings_buffer=16
|
|
|
|
|
|
; The maximum number of keys (scripts) in the OPcache hash table.
|
|
|
; Only numbers between 200 and 1000000 are allowed.
|
|
|
-;opcache.max_accelerated_files=10000
|
|
|
+opcache.max_accelerated_files=7963
|
|
|
|
|
|
; The maximum percentage of "wasted" memory until a restart is scheduled.
|
|
|
;opcache.max_wasted_percentage=5
|
|
@@ -1798,11 +1798,11 @@ opcache.validate_timestamps=0
|
|
|
;opcache.revalidate_freq=2
|
|
|
|
|
|
; Enables or disables file search in include_path optimization
|
|
|
-;opcache.revalidate_path=0
|
|
|
+opcache.revalidate_path=0
|
|
|
|
|
|
; If disabled, all PHPDoc comments are dropped from the code to reduce the
|
|
|
; size of the optimized code.
|
|
|
-;opcache.save_comments=1
|
|
|
+opcache.save_comments=0
|
|
|
|
|
|
; Allow file existence override (file_exists, etc.) performance feature.
|
|
|
opcache.enable_file_override=1
|
|
@@ -1878,7 +1878,7 @@ opcache.enable_file_override=1
|
|
|
|
|
|
; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
|
|
|
; This should improve performance, but requires appropriate OS configuration.
|
|
|
-opcache.huge_code_pages=1
|
|
|
+;opcache.huge_code_pages=1
|
|
|
|
|
|
; Validate cached file permissions.
|
|
|
;opcache.validate_permission=0
|
|
@@ -1886,6 +1886,15 @@ opcache.huge_code_pages=1
|
|
|
; Prevent name collisions in chroot'ed environment.
|
|
|
;opcache.validate_root=0
|
|
|
|
|
|
+; Prevents caching files that are less than this number of seconds old.
|
|
|
+; It protects from caching of incompletely updated files.
|
|
|
+; In case all file updates on your site are atomic, you may increase performance by setting it to "0".
|
|
|
+opcache.file_update_protection=0
|
|
|
+
|
|
|
+opcache.fast_shutdown=1
|
|
|
+
|
|
|
+opcache.preload_user=www-data
|
|
|
+
|
|
|
[curl]
|
|
|
; A default value for the CURLOPT_CAINFO option. This is required to be an
|
|
|
; absolute path.
|