pfsockopen stream_socket_client 配合 STREAM_CLIENT_PERSISTENT 都能做到请求结束后不销毁tcp链接,下次使用时可以复用。 nginx+php-fpm亲测可用