<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.parallel.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'parallel.setup.php',
    1 => 'Installation',
    2 => 'Installation',
  ),
  'up' => 
  array (
    0 => 'book.parallel.php',
    1 => 'parallel',
  ),
  'prev' => 
  array (
    0 => 'intro.parallel.php',
    1 => 'Вступ',
  ),
  'next' => 
  array (
    0 => 'philosophy.parallel.php',
    1 => 'Philosophy',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/parallel/setup.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="parallel.setup" class="chapter">
 <h1 class="title">Installation</h1>


 <div class="simplesect" id="parallel.requirements">
  <h3 class="title">Вимоги</h3>
  <p class="para">
 parallel requires a build of PHP with ZTS (Zend Thread Safety) enabled
 (<strong class="option configure">--enable-zts</strong>, or on non-Windows systems prior to PHP 8.0.0,
 <strong class="option configure">--enable-maintainer-zts</strong>)
  </p>
  <div class="caution"><strong class="caution">Застереження</strong>
  <p class="para">
 Zend Thread Safety cannot be enabled post build; it is a build time configuration option.
  </p>
  </div>
  <p class="para">
 parallel should build anywhere there is a working Posix Threads header (pthread.h) and ZTS build of PHP, including Windows (using the pthread-w32 project from redhat).
  </p>
 </div>

 <div class="simplesect" id="parallel.installation">
  <h3 class="title">Встановлення</h3>
  <p class="para">
   parallel releases are hosted by PECL and the source code by 
    <a href="https://github.com/krakjoe/parallel" class="link external">&raquo;&nbsp;github</a>, 
   the easiest route to installation is the normal PECL route:
   <a href="https://pecl.php.net/package/parallel" class="link external">&raquo;&nbsp;https://pecl.php.net/package/parallel</a>.
  </p>
  <p class="para">
 Windows users can download prebuilt release binaries from the <a href="https://pecl.php.net/package/parallel" class="link external">&raquo;&nbsp;PECL</a> website.
  </p>
  <div class="caution"><strong class="caution">Застереження</strong>
   <p class="para">
 Windows users need to take the additional step of adding <var class="filename">pthreadVC<span class="replaceable">?</span>.dll</var> (distributed with Windows releases) to their <var class="envar">PATH</var>.
   </p>
  </div>
 </div>
</div>
<?php manual_footer($setup); ?>