PHP线程库的配置

下载Thread的扩展库

http://windows.php.net/downloads/pecl/releases/pthreads/

Thread扩展的配置

  • 将 php_pthreads.dll 拷贝到 ${php_path}/ext.
  • 将 pthreadVC2.dll 拷贝到 ${php_path}
  • 编辑 ${php_path}/php.ini,添加配置信息 extension=php_pthreads.dll

你可能感兴趣的:(PHP)