1 使用fsockopen及 fputs 启动 web服务器[apache/nginx] 的多线程,从而实现php的多线程操作。 2 php7 多线程 3 php5.5.9 pthread 线程 需要单独安装扩展 【 原生的pthread(多线程)】 4 php swoole 支持多线程【开源】