Guest User

Untitled

a guest
Aug 3rd, 2019
13
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [global]
  2. ; Log level
  3. ; Possible Values: alert, error, warning, notice, debug
  4. ; Default Value: notice
  5. log_level = warning
  6. pid = /var/run/php-fpm/php-fpm.pid
  7. error_log = /var/log/php-fpm/www-error.log
  8. emergency_restart_threshold = 10
  9. emergency_restart_interval = 1m
  10. process_control_timeout = 10s
  11. include=/usr/local/nginx/conf/phpfpmd/*.conf
  12.  
  13. [www]
  14. user = nginx
  15. group = nginx
  16.  
  17. listen = 127.0.0.1:9000
  18. listen.allowed_clients = 127.0.0.1
  19. listen.backlog = 8150
  20.  
  21. ;listen = /tmp/php5-fpm.sock
  22. listen.owner = nginx
  23. listen.group = nginx
  24. listen.mode = 0660
  25.  
  26. pm = ondemand
  27. pm.max_children = 14
  28. ; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
  29. pm.start_servers = 4
  30. pm.min_spare_servers = 4
  31. pm.max_spare_servers = 8
  32. pm.max_requests = 5000
  33.  
  34. ; PHP 5.3.9 setting
  35. ; The number of seconds after which an idle process will be killed.
  36. ; Note: Used only when pm is set to 'ondemand'
  37. ; Default Value: 10s
  38. pm.process_idle_timeout = 10s;
  39.  
  40. rlimit_files = 65536
  41. rlimit_core = 0
  42.  
  43. ; The timeout for serving a single request after which the worker process will
  44. ; be killed. This option should be used when the 'max_execution_time' ini option
  45. ; does not stop script execution for some reason. A value of '0' means 'off'.
  46. ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
  47. ; Default Value: 0
  48. ;request_terminate_timeout = 0
  49. ; Default Value: 0
  50. ;request_slowlog_timeout = 0
  51. slowlog = /var/log/php-fpm/www-slow.log
  52.  
  53. pm.status_path = /phpstatus
  54. ping.path = /phpping
  55. ping.response = pong
  56.  
  57. ; Limits the extensions of the main script FPM will allow to parse. This can
  58. ; prevent configuration mistakes on the web server side. You should only limit
  59. ; FPM to .php extensions to prevent malicious users to use other extensions to
  60. ; exectute php code.
  61. ; Note: set an empty value to allow all extensions.
  62. ; Default Value: .php
  63. security.limit_extensions = .php
  64.  
  65. ; catch_workers_output = yes
  66. php_admin_value[error_log] = /var/log/php-fpm/www-php.error.log
  67. php_admin_value[disable_functions] = shell_exec
RAW Paste Data