FEAT:Modify_opcache_and_php_templates

This commit is contained in:
Xavier Galofre Freire 2023-11-07 14:56:44 +01:00
parent c95df25578
commit e13c917d05
3 changed files with 14 additions and 3 deletions

View File

@ -63,6 +63,8 @@ php_opcache_revalidate_path: "0"
php_opcache_revalidate_freq: "2"
php_opcache_max_file_size: "0"
php_opcache_blacklist_filename: ""
php_opcache_jit: "tracing"
php_opcache_file_cache: ""
# APCu settings.
php_enable_apc: true
@ -84,14 +86,19 @@ php_file_uploads: "On"
php_upload_max_filesize: "64M"
php_max_file_uploads: "20"
php_variables_order: "GPCS"
php_post_max_size: "32M"
php_date_timezone: "America/Chicago"
php_allow_url_fopen: "On"
php_sendmail_path: "/usr/sbin/sendmail -t -i"
php_mail_add_x_header: "On"
php_output_buffering: "4096"
php_short_open_tag: "Off"
php_disable_functions: []
php_zend_assertions: 1
php_zend_exception_ignore_args: 'Off'
php_zend_exception_string_param_max_len: 15
php_precision: 14
php_serialize_precision: "-1"

View File

@ -12,3 +12,5 @@ opcache.max_file_size={{ php_opcache_max_file_size }}
{% if php_opcache_blacklist_filename != '' %}
opcache.blacklist_filename={{ php_opcache_blacklist_filename }}
{% endif %}
opcache.jit={{ php_opcache_jit }}
opcache.file_cache={{ php_opcache_file_cache }}

View File

@ -18,7 +18,9 @@ disable_functions = {{ php_disable_functions|join(",") }}
disable_classes =
zend.enable_gc = On
zend.assertions = {{ php_zend_assertions }}
zend.exception_ignore_args = {{ php_zend_exception_ignore_args }}
zend.exception_string_param_max_len = {{ php_zend_exception_string_param_max_len }}
;;;;;;;;;;;;;;;;;
; Miscellaneous ;
;;;;;;;;;;;;;;;;;
@ -53,7 +55,7 @@ html_errors = On
; Data Handling ;
;;;;;;;;;;;;;;;;;
variables_order = "GPCS"
variables_order = {{ php_variables_order }}
request_order = "GP"
register_argc_argv = Off
auto_globals_jit = On
@ -114,7 +116,7 @@ smtp_port = 25
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = {{ php_sendmail_path }}
mail.add_x_header = On
mail.add_x_header = {{ php_mail_add_x_header }}
[SQL]
sql.safe_mode = Off