Skip to content

Instantly share code, notes, and snippets.

@theraw
Created December 16, 2022 20:00
Show Gist options
  • Save theraw/e828aa1920801e260ed48ce91ba090d7 to your computer and use it in GitHub Desktop.
Save theraw/e828aa1920801e260ed48ce91ba090d7 to your computer and use it in GitHub Desktop.
[php74]
user = nginx
group = nginx
listen = 127.0.0.1:9074
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/7.4/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/7.4/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