summaryrefslogtreecommitdiff
path: root/php.ini-production
diff options
context:
space:
mode:
authorMarkus Staab <maggus.staab@googlemail.com>2017-01-09 11:33:05 +0100
committerJoe Watkins <krakjoe@php.net>2017-01-09 10:53:23 +0000
commitb655f2d6325c64e5da1f016a2742a6abf669ecaf (patch)
tree47994730d71040a8161b4d144f59f779f6c53f60 /php.ini-production
parent8dd523a21604bfb0c8ac70367396507ce9fe77cb (diff)
downloadphp-git-b655f2d6325c64e5da1f016a2742a6abf669ecaf.tar.gz
set more suitable defaults for opcache in ini and code
Diffstat (limited to 'php.ini-production')
-rw-r--r--php.ini-production8
1 files changed, 4 insertions, 4 deletions
diff --git a/php.ini-production b/php.ini-production
index cd80502c5c..b18b21fd59 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -1764,20 +1764,20 @@ ldap.max_links = -1
[opcache]
; Determines if Zend OPCache is enabled
-;opcache.enable=0
+;opcache.enable=1
; Determines if Zend OPCache is enabled for the CLI version of PHP
;opcache.enable_cli=0
; The OPcache shared memory storage size.
-;opcache.memory_consumption=64
+;opcache.memory_consumption=128
; The amount of memory for interned strings in Mbytes.
-;opcache.interned_strings_buffer=4
+;opcache.interned_strings_buffer=8
; The maximum number of keys (scripts) in the OPcache hash table.
; Only numbers between 200 and 100000 are allowed.
-;opcache.max_accelerated_files=2000
+;opcache.max_accelerated_files=10000
; The maximum percentage of "wasted" memory until a restart is scheduled.
;opcache.max_wasted_percentage=5