summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php.ini-development10
-rw-r--r--php.ini-production10
2 files changed, 18 insertions, 2 deletions
diff --git a/php.ini-development b/php.ini-development
index 138ed5e542..5883743e53 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -1713,7 +1713,7 @@ zend.assertions = 1
;mbstring.http_output_conv_mimetype=
; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
-; to the pcre.recursion_limit for PCRE.
+; to the pcre.recursion_limit for PCRE.
; Default: 100000
;mbstring.regex_stack_limit=100000
@@ -1919,6 +1919,14 @@ ldap.max_links = -1
; http://php.net/opcache.preload
;opcache.preload=
+; 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=2
+
+; Absolute path used to store shared lockfiles (for *nix only).
+;opcache.lockfile_path=/tmp
+
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
diff --git a/php.ini-production b/php.ini-production
index 4125de2a1d..5ae76c810a 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -1720,7 +1720,7 @@ zend.assertions = -1
;mbstring.http_output_conv_mimetype=
; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
-; to the pcre.recursion_limit for PCRE.
+; to the pcre.recursion_limit for PCRE.
; Default: 100000
;mbstring.regex_stack_limit=100000
@@ -1926,6 +1926,14 @@ ldap.max_links = -1
; http://php.net/opcache.preload
;opcache.preload=
+; 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=2
+
+; Absolute path used to store shared lockfiles (for *nix only).
+;opcache.lockfile_path=/tmp
+
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.