原创 安裝php擴展pthreads實現PHP多線程

下面介紹兩種編譯方式:1、在已有的PHP上編譯pthreads擴展注:需要動態加載pthreads模塊,之前在編譯php時必須啓用--enable-maintainer-zts;否則需要重新編譯PHP。pthreads源碼包下載地址:htt