From 826093e4481b954441211641ee81f1d4461ee88f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 5 Sep 2019 08:26:29 +0200 Subject: sync with upstream production values --- 10-opcache.ini | 13 +++++++++---- php.ini | 5 ----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/10-opcache.ini b/10-opcache.ini index a187524..db2ac5e 100644 --- a/10-opcache.ini +++ b/10-opcache.ini @@ -8,14 +8,14 @@ opcache.enable=1 ;opcache.enable_cli=0 ; The OPcache shared memory storage size. -opcache.memory_consumption=128 +;opcache.memory_consumption=128 ; The amount of memory for interned strings in Mbytes. -opcache.interned_strings_buffer=8 +;opcache.interned_strings_buffer=8 ; The maximum number of keys (scripts) in the OPcache hash table. ; Only numbers between 200 and 1000000 are allowed. -opcache.max_accelerated_files=4000 +;opcache.max_accelerated_files=10000 ; The maximum percentage of "wasted" memory until a restart is scheduled. ;opcache.max_wasted_percentage=5 @@ -47,7 +47,7 @@ opcache.max_accelerated_files=4000 ; A bitmask, where each bit enables or disables the appropriate OPcache ; passes -;opcache.optimization_level=0x7FFEBFFF +;opcache.optimization_level=0x7FFFBFFF ; This hack should only be enabled to work around "Cannot redeclare class" ; errors. @@ -134,6 +134,11 @@ opcache.huge_code_pages=0 ; http://php.net/opcache.preload ;opcache.preload= +; Preloading code as root is not allowed for security reasons. This directive +; facilitates to let the preloading to be run as another user. +; http://php.net/opcache.preload_user +;opcache.preload_user= + ; 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". diff --git a/php.ini b/php.ini index 06adab5..e7db839 100644 --- a/php.ini +++ b/php.ini @@ -148,11 +148,6 @@ ; Development Value: Off ; Production Value: Off -; track_errors -; Default Value: Off -; Development Value: On -; Production Value: Off - ; variables_order ; Default Value: "EGPCS" ; Development Value: "GPCS" -- cgit