uinxSocket 与 tcpSocket

$tpc = stream_socket_client('unix:///tmp/php-cgi.sock');
nginx配置中可以用uninx:/tmp/php-.....这种格式,也可用直接uinx:///temp/php....这种格式
原文地址:https://www.cnblogs.com/musings/p/11138814.html