PhyrePanel/compilators/debian/php/php-fpm.conf

46 lines
1 KiB
Text
Raw Normal View History

2023-11-25 22:35:46 +00:00
[global]
pid = /run/phyre-php.pid
daemonize = yes
log_level = error
emergency_restart_threshold = 10
emergency_restart_interval = 60s
process_control_timeout = 10s
events.mechanism = epoll
[www]
listen = /run/phyre-php.sock
2024-04-04 14:22:37 +00:00
user = root
group = root
listen.owner = root
listen.group = root
2023-11-25 22:35:46 +00:00
listen.mode = 0660
pm = ondemand
pm.max_children = 4
pm.max_requests = 1000
pm.process_idle_timeout = 10s;
2024-04-04 09:41:16 +00:00
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
env[LANG] = en_US.UTF-8
2023-11-25 22:35:46 +00:00
php_flag[display_errors] = off
php_admin_flag[log_errors] = on
php_admin_flag[session.cookie_httponly] = on
php_admin_flag[session.use_strict_mode] = on
php_admin_flag[session.cookie_secure] = on
php_admin_value[session.cookie_samesite] = "Strict"
php_admin_value[memory_limit] = 256M
php_admin_value[post_max_size] = 256M
php_admin_value[upload_max_filesize] = 256M
php_admin_value[max_execution_time] = 300
php_admin_value[max_input_time] = 300
php_admin_value[session.save_path] = /usr/local/phyre/data/sessions