php-fpm使用unix socket方式

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



作者:k1ic
链接:https://www.jianshu.com/p/34a20e8dbf10
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

发布了41 篇原创文章 · 获赞 6 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/bujidexinq/article/details/104889535