1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- ;;;;;;;;;;;;;;;;;;;;;
- ; FPM Configuration ;
- ;;;;;;;;;;;;;;;;;;;;;
- ;;;;;;;;;;;;;;;;;;
- ; Global Options ;
- ;;;;;;;;;;;;;;;;;;
- [global]
- pid = /dev/shm/php-fpm.pid
- error_log = /data/log/php-fpm.log
- log_level = warning
-
- emergency_restart_threshold = 30
- emergency_restart_interval = 60s
- process_control_timeout = 5s
- daemonize = yes
- ;;;;;;;;;;;;;;;;;;;;
- ; Pool Definitions ;
- ;;;;;;;;;;;;;;;;;;;;
- [www]
- listen = /dev/shm/php-cgi.sock
- ;listen = 9000
- listen.backlog = -1
- ;listen.allowed_clients = any
- listen.owner = nobody
- ;listen.group = nobody
- listen.mode = 0666
- user = nobody
- ;group = nobody
- pm = dynamic
- pm.max_children = 16
- pm.start_servers = 10
- pm.min_spare_servers = 8
- pm.max_spare_servers = 16
- pm.max_requests = 2048
- pm.process_idle_timeout = 10s
- request_terminate_timeout = 120
- request_slowlog_timeout = 0
- pm.status_path = /php-fpm_status
- slowlog = /data/log/slow.log
- rlimit_files = 51200
- rlimit_core = 0
- catch_workers_output = yes
- ;php_admin_value[error_log] =/data/log/php_errors.log
- php_admin_value[expose_php] = on
- env[PATH] = /usr/local/bin:/usr/bin:/bin
- env[TMP] = /tmp
- env[TMPDIR] = /tmp
- env[TEMP] = /tmp
|