docker-flarum/rootfs/etc/php7/php-fpm.conf

16 lines
379 B
Plaintext

[global]
daemonize = no
error_log = /tmp/php_error.log
[www]
listen = /tmp/php-fpm.sock
pm = ondemand
pm.max_children = 30
pm.process_idle_timeout = 10s
pm.max_requests = 500
chdir = /
php_admin_value[expose_php] = Off
php_admin_value[post_max_size] = <UPLOAD_MAX_SIZE>
php_admin_value[upload_max_filesize] = <UPLOAD_MAX_SIZE>
php_admin_value[memory_limit] = <PHP_MEMORY_LIMIT>