lomg 发表于 2018-11-11 11:13:46

nginx+php5.2.17+memcache+xcache+sign+xcache-nginx与php扩展模块

1   2
  3

  4         All>  5
  6         
  7
  8               Pid file
  9               /usr/local/php-5.2.17/logs/php-fpm.pid
  10
  11               Error log file
  12               /usr/local/php-5.2.17/logs/php-fpm.log
  13
  14               Log level
  15               notice
  16
  17               When this amount of php processes exited with SIGSEGV or SIGBUS ...
  18               10
  19
  20               ... in a less than this interval of time, a graceful restart will be initiated.
  21               Useful to work around accidental curruptions in accelerator's shared memory.
  22               1m
  23
  24               Time limit on waiting child's reaction on signals from master
  "/usr/local/php-5.2.17/etc/php-fpm.conf" 156L, 5188C                                           1,1         Top
  1
  2
  3

  4         All>  5
  6         
  7
  8               Pid file
  9               /usr/local/php-5.2.17/logs/php-fpm.pid
  10
  11               Error log file
  12               /usr/local/php-5.2.17/logs/php-fpm.log
  13
  14               Log level
  15               notice
  18               10
  19
  20               ... in a less than this interval of time, a graceful restart will be initiated.
  21               Useful to work around accidental curruptions in accelerator's shared memory.
  22               1m
  23
  24               Time limit on waiting child's reaction on signals from master
  25               5s
  26
  29
  30         
  31
  32         
  33
  34               
  35
  36                         Name of pool. Used in logs and stats.
  37                         default
  38
  39                         Address to accept fastcgi requests on.
  40                         Valid syntax is 'ip.ad.re.ss:port' or just 'port' or '/path/to/unix/socket'
  41                         127.0.0.1:9000
  42
  43                        
  44
  45                                 Set listen(2) backlog
  46                                 -1
  47
  48                                 Set permissions for unix socket, if one used.
  50                                 Many BSD-derrived systems allow connections regardless of permissions.
  51                                 
  52                                 
  53                                 0666
  54                        
  55
  56                         Additional php.ini defines, specific to this pool of workers.
  57                        
  58               
  60                        
  61
  62                         Unix user of processes
  63                         web
  64
  65                         Unix group of processes
  66                         web
  71                                 Sets style of controling worker process count.
  72                                 Valid values are 'static' and 'apache-like'
  73                                 static
  76                                 Equivalent to Apache MaxClients directive.
  77                                 Equivalent to PHP_FCGI_CHILDREN environment in original php.fcgi
  78                                 Used with any pm_style.
  79                                 5
  80
  81                                 Settings group for 'apache-like' pm style
  82                                 
  83
  84                                       Sets the number of server processes created on startup.
  85                                       Used only when 'apache-like' pm_style is selected
  86                                       20
  87

  88                                       Sets the desired minimum number of>  89                                       Used only when 'apache-like' pm_style is selected
  90                                       5
  91

  92                                       Sets the desired maximum number of>  93                                       Used only when 'apache-like' pm_style is selected
  94                                       35
  95
  96                                 
  97
  98                        
  99
  102                         '0s' means 'off'
  103                         0s
  104
  106                         '0s' means 'off'
  107                         0s
  108
  109                         The log file for slow requests
  110                         logs/slow.log
  111
  112                         Set open file desc rlimit
  113                         1024
  114

  115                         Set max core>  116                         0
  117
  118                         Chroot to this directory at the start, absolute path
  119                        
  120
  121                         Chdir to this directory at the start, absolute path
  122                        
  123
  124                         Redirect workers' stdout and stderr into main error log.
  125                         If not set, they will be redirected to /dev/null, according to FastCGI specs
  126                         yes
  127
  128                         How much requests each process should execute before respawn.
  129                         Useful to work around memory leaks in 3rd party libraries.
  130                         For endless request processing please specify 0
  131                         Equivalent to PHP_FCGI_MAX_REQUESTS
  132                         500
  133
  134                         Comma separated list of ipv4 addresses of FastCGI clients that allowed to connect.
  135                         Equivalent to FCGI_WEB_SERVER_ADDRS environment in original php.fcgi (5.2.2+)
  136                         Makes sense only with AF_INET listening socket.
  137                         127.0.0.1
  138
  139                         Pass environment variables like LD_LIBRARY_PATH
  140                         All $VARIABLEs are taken from current environment
  141                        
  142                                 $HOSTNAME
  143                                 /usr/local/bin:/usr/bin:/bin
  144                                 /tmp
  145                                 /tmp
  146                                 /tmp
  147                                 $OSTYPE
  148                                 $MACHTYPE
  149                                 2
  150                        
  151
  152               
  153
  154         
  155
  156

页: [1]
查看完整版本: nginx+php5.2.17+memcache+xcache+sign+xcache-nginx与php扩展模块