com php-src: Add opcache.lockfile_path and opcache.lo ckfile_path to ini settings: php.ini-development php.ini-production
| From: | Peter Kokot | Date: | Fri, 05 Apr 2019 17:44:56 +0000 |
| Subject: | com php-src: Add opcache.lockfile_path and opcache.lo ckfile_path to ini settings: php.ini-development php.ini-production | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105529@lists.php.net to get a copy of this message | ||
Commit: 1dd5ab0cadcc4f2920316b0d24f00a48f92424c8
Author: Peter Kokot <peterkokot@gmail.com> Fri, 5 Apr 2019 19:44:56 +0200
Parents: 87b62fe7bc666294d96dbf6e4a5d20f1f8cb5d80
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1dd5ab0cadcc4f2920316b0d24f00a48f92424c8
Log:
Add opcache.lockfile_path and opcache.lockfile_path to ini settings
Some default opcache settings were missing.
Changed paths:
M php.ini-development
M php.ini-production
Diff:
diff --git a/php.ini-development b/php.ini-development
index 138ed5e..5883743 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 4125de2..5ae76c8 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.