This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

fpm

By: a guest on Jun 18th, 2014  |  syntax: None  |  size: 2.01 KB  |  views: 170  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. root@kucyk:/etc/php5/fpm/pool.d# ls
  2. olo-web.eu.conf  pma.conf  wyszukiwarka.conf  zeszyt.conf
  3. root@kucyk:/etc/php5/fpm/pool.d# cat *
  4.  
  5.  
  6.  
  7.  
  8. [olo-web.eu]
  9.  
  10. user = $pool
  11. group = $pool
  12.  
  13. listen = /var/run/php5-fpm_$pool.sock
  14. listen.owner = $pool
  15. listen.group = www-data
  16. listen.mode = 0660
  17.  
  18. pm = dynamic
  19. pm.max_children = 20
  20. pm.start_servers = 5
  21. pm.min_spare_servers = 2
  22. pm.max_spare_servers = 5
  23. pm.max_requests = 100
  24.  
  25. php_admin_value[error_log] = /home/$pool/php_err.log
  26.  
  27. chdir = /home/$pool/
  28.  
  29.  
  30.  
  31.  
  32. [pma]
  33.  
  34. user = $pool
  35. group = $pool
  36.  
  37. listen = /var/run/php5-fpm_$pool.sock
  38. listen.owner = $pool
  39. listen.group = www-data
  40. listen.mode = 0660
  41.  
  42. pm = dynamic
  43. pm.max_children = 2
  44. pm.start_servers = 1
  45. pm.min_spare_servers = 1
  46. pm.max_spare_servers = 2
  47. pm.max_requests = 50
  48.  
  49. php_admin_value[open_basedir] = /home/$pool/:/tmp/
  50. php_admin_value[upload_tmp_dir] = /home/$pool/tmp
  51. php_admin_value[session.save_path] = /home/$pool/tmp
  52.  
  53. request_terminate_timeout = 900
  54. php_admin_value[max_execution_time] = 900
  55. php_admin_value[max_input_time] = 900
  56. php_admin_value[memory_limit] = 64M
  57. php_admin_value[upload_max_filesize] = 128M
  58. php_admin_value[post_max_size] = 128M
  59. php_admin_value[display_errors] = On
  60.  
  61. php_admin_value[error_log] = /home/$pool/php_err.log
  62.  
  63. chdir = /home/$pool/
  64.  
  65.  
  66.  
  67.  
  68. [wyszukiwarka]
  69.  
  70. user = $pool
  71. group = $pool
  72.  
  73. listen = /var/run/php5-fpm_$pool.sock
  74. listen.owner = $pool
  75. listen.group = www-data
  76. listen.mode = 0660
  77.  
  78. pm = dynamic
  79. pm.max_children = 20
  80. pm.start_servers = 5
  81. pm.min_spare_servers = 2
  82. pm.max_spare_servers = 5
  83. pm.max_requests = 100
  84.  
  85. php_admin_value[error_log] = /home/$pool/php_err.log
  86.  
  87. chdir = /home/$pool/
  88.  
  89.  
  90.  
  91.  
  92. [zeszyt]
  93.  
  94. user = $pool
  95. group = $pool
  96.  
  97. listen = /var/run/php5-fpm_$pool.sock
  98. listen.owner = $pool
  99. listen.group = www-data
  100. listen.mode = 0660
  101.  
  102. pm = dynamic
  103. pm.max_children = 20
  104. pm.start_servers = 5
  105. pm.min_spare_servers = 2
  106. pm.max_spare_servers = 5
  107. pm.max_requests = 100
  108.  
  109. php_admin_value[error_log] = /home/$pool/php_err.log
  110.  
  111. chdir = /home/$pool/
clone this paste RAW Paste Data