Skip to content

Instantly share code, notes, and snippets.

@theraw
Created December 16, 2022 15:39
Show Gist options
  • Save theraw/0a9e4083f1d4ce6f79fbbc8e1d9f27b0 to your computer and use it in GitHub Desktop.
Save theraw/0a9e4083f1d4ce6f79fbbc8e1d9f27b0 to your computer and use it in GitHub Desktop.
[php82]
user = nginx
group = nginx
listen = 127.0.0.1:9082
listen.owner = nginx
listen.group = nginx
pm = ondemand
pm.max_children = 5000
pm.process_idle_timeout = 15s;
pm.max_requests = 256
slowlog = /var/log/php/8.2/slow.log
request_slowlog_timeout = 8s
request_terminate_timeout = 15s
env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
php_admin_value[error_log] = /var/log/php/8.2/www.log
php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 1024M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment