Skip to content

Instantly share code, notes, and snippets.

@mb00g
Last active January 30, 2020 08:53
Show Gist options
  • Save mb00g/5e0ab434d689a3374229afe7ce8614a5 to your computer and use it in GitHub Desktop.
Save mb00g/5e0ab434d689a3374229afe7ce8614a5 to your computer and use it in GitHub Desktop.
[www]
user = apache
group = apache

listen = 127.0.0.1:9000
listen.allowed_clients = 127.0.0.1

pm = static
pm.max_children = 254
pm.start_servers = 16
pm.min_spare_servers = 8
pm.max_spare_servers = 16

slowlog = /var/log/php-fpm/www-slow.log

php_admin_value[error_log] = /var/log/php-fpm/www-error.log
php_admin_flag[log_errors] = on

php_value[session.save_handler] = files
php_value[session.save_path]    = /var/lib/php/session
php_value[soap.wsdl_cache_dir]  = /var/lib/php/wsdlcache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment