roles/php-fpm: Import config changes for PHP 7.4

This commit is contained in:
2020-07-13 22:36:53 +03:00
parent 057e98ab47
commit 7f5499c307
2 changed files with 20 additions and 20 deletions

View File

@ -959,7 +959,9 @@ cli_server.color = On
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;date.timezone =
{% if timezone is defined %}
date.timezone = {{ timezone }}
{% endif %}
; http://php.net/date.default-latitude
;date.default_latitude = 31.7667
@ -1765,20 +1767,20 @@ ldap.max_links = -1
[opcache]
; Determines if Zend OPCache is enabled
;opcache.enable=1
opcache.enable={{ opcache_enable }}
; Determines if Zend OPCache is enabled for the CLI version of PHP
;opcache.enable_cli=0
opcache.enable_cli={{ opcache_enable_cli }}
; The OPcache shared memory storage size.
;opcache.memory_consumption=128
opcache.memory_consumption={{ opcache_memory_consumption }}
; The amount of memory for interned strings in Mbytes.
;opcache.interned_strings_buffer=8
opcache.interned_strings_buffer={{ opcache_interned_strings_buffer }}
; 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={{ opcache_max_accelerated_files }}
; The maximum percentage of "wasted" memory until a restart is scheduled.
;opcache.max_wasted_percentage=5
@ -1787,23 +1789,23 @@ ldap.max_links = -1
; directory to the script key, thus eliminating possible collisions between
; files with the same name (basename). Disabling the directive improves
; performance, but may break existing applications.
;opcache.use_cwd=1
opcache.use_cwd={{ opcache_use_cwd }}
; When disabled, you must reset the OPcache manually or restart the
; webserver for changes to the filesystem to take effect.
;opcache.validate_timestamps=1
opcache.validate_timestamps={{ opcache_validate_timestamps }}
; How often (in seconds) to check file timestamps for changes to the shared
; memory storage allocation. ("1" means validate once per second, but only
; once per request. "0" means always validate)
;opcache.revalidate_freq=2
opcache.revalidate_freq={{ opcache_revalidate_freq }}
; Enables or disables file search in include_path optimization
;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={{ opcache_save_comments }}
; Allow file existence override (file_exists, etc.) performance feature.
;opcache.enable_file_override=0