Advertisement
krot

php fpm

Mar 18th, 2020
604
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  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;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement