-
-
Save bewho/2f78a87fd008d163dc58aa6208cfdbaf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;;;;;;;;;;;;;;;;;;;; | |
| ; FPM Configuration ; | |
| ;;;;;;;;;;;;;;;;;;;;; | |
| ;;;;;;;;;;;;;;;;;; | |
| ; Global Options ; | |
| ;;;;;;;;;;;;;;;;;; | |
| [global] | |
| pid = run/php-fpm.pid | |
| error_log = 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.backlog = -1 | |
| listen.allowed_clients = 127.0.0.1 | |
| listen.owner = www | |
| listen.group = www | |
| listen.mode = 0666 | |
| user = www | |
| group = www | |
| pm = static | |
| pm.max_children = 50 | |
| pm.start_servers = 30 | |
| pm.min_spare_servers = 20 | |
| pm.max_spare_servers = 50 | |
| pm.max_requests = 2048 | |
| pm.process_idle_timeout = 10s | |
| request_terminate_timeout = 120 | |
| catch_workers_output = yes | |
| env[PATH] = /usr/local/bin:/usr/bin:/bin | |
| env[TMP] = /tmp | |
| env[TMPDIR] = /tmp | |
| env[TEMP] = /tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment