<?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 => 'zh',
  ),
  'this' => 
  array (
    0 => 'apcu.installation.php',
    1 => '安装',
    2 => '安装',
  ),
  'up' => 
  array (
    0 => 'apcu.setup.php',
    1 => '安装/配置',
  ),
  'prev' => 
  array (
    0 => 'apcu.setup.php',
    1 => '安装/配置',
  ),
  'next' => 
  array (
    0 => 'apcu.configuration.php',
    1 => '运行时配置',
  ),
  '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">安装</h2>
  <p class="simpara">
   安装此 PECL 扩展相关的信息可在手册中标题为
<a href="install.pecl.php" class="link">PECL
扩展的安装</a>章节中找到。更多信息如新的发行版本、下载、源文件、
维护人员信息及变更日志等，都在此处：
   <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">小技巧</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">警告</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">注意</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">注意</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); ?>