美文网首页
php-fpm使用unix socket方式

php-fpm使用unix socket方式

作者: k1ic | 来源:发表于2018-05-10 11:12 被阅读160次

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

相关文章

网友评论

      本文标题:php-fpm使用unix socket方式

      本文链接:https://www.haomeiwen.com/subject/soejsttx.html