D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
proc
/
self
/
root
/
opt
/
cpguard
/
cpg-php-fpm
/
etc
/
Filename :
php-fpm.conf
back
Copy
;;;;;;;;;;;;;;;;;;;;; ; OPSSHIELD FPM Configuration ; ;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;; ; Global Options ; ;;;;;;;;;;;;;;;;;; [global] pid = /opt/cpguard/cpg-php-fpm/var/run/php-fpm.pid error_log = /opt/cpguard/cpg-php-fpm/var/log/php-fpm.log log_level = warning emergency_restart_threshold = 30 emergency_restart_interval = 60s process_control_timeout = 10s daemonize = yes ;;;;;;;;;;;;;;;;;;;; ; Pool Definitions ; ;;;;;;;;;;;;;;;;;;;; [cpguard] ;listen = /dev/shm/php-cgi.sock listen = /opt/cpguard/cpg-php-fpm/var/run/cpgphp-cgi.sock ;listen = 127.0.0.1:8777 listen.backlog = -1 listen.allowed_clients = 127.0.0.1 listen.owner = cpguard listen.group = cpguard listen.mode = 0666 user = cpguard group = cpguard pm = dynamic pm.max_children = 5 pm.start_servers = 2 pm.min_spare_servers = 2 pm.max_spare_servers = 3 pm.max_requests = 2048 pm.process_idle_timeout = 10s request_terminate_timeout = 120 request_slowlog_timeout = 0 slowlog = log/slow.log rlimit_files = 51200 rlimit_core = 0 catch_workers_output = yes env[PATH] = /usr/local/bin:/usr/bin:/bin env[TMP] = /tmp env[TMPDIR] = /tmp env[TEMP] = /tmp