mirror of
https://github.com/casjaysdevdocker/ampache
synced 2026-05-19 02:47:55 -04:00
Some checks failed
ampache / release-ampache (push) Has been cancelled
Dockerfile .env.scripts .gitattributes .gitea/ .gitignore LICENSE.md README.md rootfs/root/docker/setup/04-users.sh rootfs/root/docker/setup/05-custom.sh rootfs/tmp/ rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/bin/pkmgr rootfs/usr/local/etc/docker/bin/ rootfs/usr/local/etc/docker/init.d/
81 lines
1.7 KiB
INI
81 lines
1.7 KiB
INI
; casjaysdevdocker/ampache - PHP 8.4 production tunings for Ampache
|
|
|
|
[PHP]
|
|
engine = On
|
|
short_open_tag = Off
|
|
precision = 14
|
|
output_buffering = 4096
|
|
zlib.output_compression = Off
|
|
implicit_flush = Off
|
|
serialize_precision = -1
|
|
disable_functions =
|
|
disable_classes =
|
|
zend.enable_gc = On
|
|
expose_php = Off
|
|
max_execution_time = 300
|
|
max_input_time = 300
|
|
max_input_vars = 5000
|
|
memory_limit = 512M
|
|
|
|
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
|
|
display_errors = Off
|
|
display_startup_errors = Off
|
|
log_errors = On
|
|
log_errors_max_len = 1024
|
|
ignore_repeated_errors = Off
|
|
ignore_repeated_source = Off
|
|
report_memleaks = On
|
|
html_errors = On
|
|
error_log = /data/logs/php-fpm/error.log
|
|
|
|
variables_order = "GPCS"
|
|
request_order = "GP"
|
|
register_argc_argv = Off
|
|
auto_globals_jit = On
|
|
|
|
post_max_size = 256M
|
|
upload_max_filesize = 256M
|
|
max_file_uploads = 20
|
|
|
|
default_socket_timeout = 60
|
|
allow_url_fopen = On
|
|
allow_url_include = Off
|
|
|
|
cgi.fix_pathinfo = 0
|
|
|
|
[Date]
|
|
date.timezone = REPLACE_TZ
|
|
|
|
[Session]
|
|
session.save_handler = files
|
|
session.save_path = "/tmp/php-sessions"
|
|
session.use_strict_mode = 0
|
|
session.use_cookies = 1
|
|
session.use_only_cookies = 1
|
|
session.name = AMPACHE_SESSION
|
|
session.auto_start = 0
|
|
session.cookie_lifetime = 0
|
|
session.cookie_path = /
|
|
session.cookie_secure = Off
|
|
session.cookie_httponly = On
|
|
session.cookie_samesite = Lax
|
|
session.gc_probability = 1
|
|
session.gc_divisor = 1000
|
|
session.gc_maxlifetime = 86400
|
|
|
|
[opcache]
|
|
opcache.enable = 1
|
|
opcache.enable_cli = 0
|
|
opcache.memory_consumption = 256
|
|
opcache.interned_strings_buffer = 16
|
|
opcache.max_accelerated_files = 20000
|
|
opcache.revalidate_freq = 60
|
|
opcache.fast_shutdown = 1
|
|
opcache.validate_timestamps = 1
|
|
|
|
[curl]
|
|
curl.cainfo = /etc/ssl/certs/ca-certificates.crt
|
|
|
|
[openssl]
|
|
openssl.cafile = /etc/ssl/certs/ca-certificates.crt
|