krot

php fpm

Mar 18th, 2020
113
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /etc/php5/fpm/www.conf
  2. user = nginx
  3. group = nginx
  4.  
  5. listen = /var/run/php-fpm/php72-php-fpm.sock
  6. listen.mode = 0660
  7. listen.owner = nginx
  8. listen.group = nginx
  9.  
  10. /etc/php.ini
  11. cgi.fix_pathinfo=0
  12.  
  13. nginx
  14. fastcgi_pass unix:/var/run/php-fpm/php72-php-fpm.sock;
RAW Paste Data