mirror of
https://github.com/casjaysdevdocker/wordpress
synced 2025-01-18 00:34:26 -05:00
35 lines
923 B
Plaintext
35 lines
923 B
Plaintext
error_log = /usr/logs/php8/php-fpm.log
|
|
log_level = warning
|
|
|
|
[www]
|
|
user = nginx
|
|
group = nginx
|
|
listen = /var/run/php-fpm.sock
|
|
listen.owner = nginx
|
|
listen.group = nginx
|
|
pm = ondemand
|
|
|
|
; Total RAM dedicated to the web server / Max child process size
|
|
pm.max_children = 75
|
|
|
|
pm.process_idle_timeout = 10s
|
|
pm.max_requests = 500
|
|
chdir = /usr/html
|
|
php_flag[display_errors] = on
|
|
php_admin_value[memory_limit] = 128M
|
|
php_admin_value[upload_max_filesize] = 32M
|
|
php_admin_value[post_max_size] = 32M
|
|
php_admin_value[output_buffering] = 0
|
|
php_admin_value[openssl.cafile] = /etc/ssl/certs/ca-certificates.crt
|
|
php_admin_value[openssl.capath] = /etc/ssl/certs
|
|
php_admin_value[max_input_nesting_level] = 256
|
|
php_admin_value[max_input_vars] = 10000
|
|
|
|
catch_workers_output = yes
|
|
|
|
; Database variables passed via -e argument on Docker
|
|
env["DB_HOST"] = "$DB_HOST"
|
|
env["DB_USER"] = "$DB_USER"
|
|
env["DB_PASS"] = "$DB_PASS"
|
|
env["DB_NAME"] = "$DB_NAME"
|