php-fpm使用unix socket方式

2018-05-10  本文已影响160人  k1ic

0.缘起

https://www.cnxct.com/default-configuration-and-performance-of-nginx-phpfpm-and-tcp-socket-or-unix-domain-socket/ https://www.jianshu.com/p/4b9d43c0571a http://strawhatfy.github.io/2015/07/30/TCP-IP-Protocol/ https://weibo.com/ttarticle/p/show?id=2309404224842877526852

1.nginx配置

2.php-fpm配置

参考:

nginx、php-fpm默认配置与性能–TCP socket还是unix domain socket

https://www.cnxct.com/default-configuration-and-performance-of-nginx-phpfpm-and-tcp-socket-or-unix-domain-socket/

使用socket方式连接Nginx优化php-fpm性能

https://blog.linuxeye.com/364.html

上一篇 下一篇

猜你喜欢

热点阅读