<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/pthreads.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'pthreads.installation.php',
    1 => '安装',
    2 => '安装',
  ),
  'up' => 
  array (
    0 => 'pthreads.setup.php',
    1 => '安装/配置',
  ),
  'prev' => 
  array (
    0 => 'pthreads.requirements.php',
    1 => '需求',
  ),
  'next' => 
  array (
    0 => 'pthreads.constants.php',
    1 => '预定义常量',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'zh',
    'path' => 'reference/pthreads/setup.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="pthreads.installation" class="section">
  <h2 class="title">安装</h2>
  <p class="simpara">
   pthreads 扩展由 PECL 主持，使用 <a href="https://github.com/krakjoe/pthreads" class="link external">&raquo;&nbsp;github</a> 管理源代码。
   使用标准的 PECL 包安装方式就可以完成安装：<a href="https://pecl.php.net/package/pthreads" class="link external">&raquo;&nbsp;https://pecl.php.net/package/pthreads</a>。
  </p>
  <p class="simpara">
   Windows 用户可以从 <a href="https://pecl.php.net/package/pthreads" class="link external">&raquo;&nbsp;PECL</a> 下载已经构建的二进制发行包。
  </p>
  <div class="caution"><strong class="caution">警告</strong>
   <p class="simpara">
    Windows 用户需要将 pthreadVC2.dll （包含在 Windows 版二进制发行包中）所在路径加入到 <var class="envar">PATH</var> 环境变量中。
   </p>
  </div>
 </div><?php manual_footer($setup); ?>