SHARE
TWEET

fpm-www.conf

ddeineka Jul 16th, 2014 227 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [www]
  2.         user = nginx
  3.         group = nginx
  4.         listen = 127.0.0.1:9000
  5.         listen.owner = nginx
  6.         listen.group = nginx
  7.         listen.mode = 0660
  8.         listen.allowed_clients = 127.0.0.1
  9.         pm = dynamic
  10.         pm.max_children = 5
  11.         pm.start_servers = 2
  12.         pm.min_spare_servers = 1
  13.         pm.max_spare_servers = 3
  14.         pm.process_idle_timeout = 10s
  15.         pm.max_requests = 50
  16.         security.limit_extensions = .php .php3 .php4 .php5
  17.         env[HOSTNAME] = $HOSTNAME
  18.         env[PATH] = /usr/local/bin:/usr/bin:/bin
  19.         env[TMP] = /tmp
  20.         env[TMPDIR] = /tmp
  21.         env[TEMP] = /tmp
  22.         php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f email@example.com
  23.         php_flag[display_errors] = off
  24.         php_admin_value[error_log] = /var/www/logs/php5.log
  25.         php_admin_flag[log_errors] = on
  26.         php_admin_value[memory_limit] = 65M
  27.         php_admin_value[open_basedir] = /var/www/blog
  28.         php_admin_value[disable_functions] = dl,exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top