<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/apcu.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'apcu.installation.php',
    1 => 'Installation',
    2 => 'Installation',
  ),
  'up' => 
  array (
    0 => 'apcu.setup.php',
    1 => 'Installing/Configuring',
  ),
  'prev' => 
  array (
    0 => 'apcu.setup.php',
    1 => 'Installing/Configuring',
  ),
  'next' => 
  array (
    0 => 'apcu.configuration.php',
    1 => 'Runtime Configuration',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/apcu/setup.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="apcu.installation" class="section">
  <h2 class="title">Installation</h2>
  <p class="simpara">
   Information for installing this PECL extension may be
found in the manual chapter titled <a href="install.pecl.php" class="link">Installation
of PECL extensions</a>. Additional information such as new releases,
downloads, source files, maintainer information, and a CHANGELOG, can be
located here: 
   <a href="https://pecl.php.net/package/apcu" class="link external">&raquo;&nbsp;https://pecl.php.net/package/apcu</a>.
  </p>
  <div class="tip"><strong class="tip">Tip</strong>
   <p class="simpara">
    PHP 7 has a separate module (<a href="https://pecl.php.net/apcu_bc" class="link external">&raquo;&nbsp;apcu-bc</a>) for backwards compatibility with APC.
   </p>
   <p class="simpara">
    In backward compatibility mode, APCu registers the applicable APC functions
    with backward compatible prototypes.
   </p>
   <p class="simpara">
    Where an APC function accepted <code class="parameter">cache_type</code>, it is simply
    ignored by the backward compatible version, and omitted from the prototype for
    the APCu version.
   </p>
  </div>
  <div class="warning"><strong class="warning">Warning</strong>
   <p class="simpara">
    As of PHP 8.0.0, apcu-bc is no longer supported.
   </p>
  </div>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <span class="simpara">
    On Windows, APCu needs a temp path to exist, and be
    writable by the web server.  It checks the TMP, TEMP
    and USERPROFILE environment variables in that order
    and finally tries the WINDOWS directory if none of
    those are set.
   </span>
  </p></blockquote>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <span class="simpara">
    For more in-depth, highly technical implementation details, see the
    <a href="https://github.com/php/pecl-caching-apc/blob/master/TECHNOTES.txt" class="link external">&raquo;&nbsp;
     developer-supplied TECHNOTES file
    </a>.
   </span>
  </p></blockquote>
  <p class="simpara">
   APCu sources can be found <a href="https://github.com/krakjoe/apcu" class="link external">&raquo;&nbsp;here</a>.
  </p>
 </div><?php manual_footer($setup); ?>