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

contributors($setup);

?>
<div id="password.installation" class="section">
  <h2 class="title">安装</h2>
  <p class="para">使用这些函数不需要安装，它们是 PHP 核心的一部分。</p>
  <p class="para">
   然而，要启用 Argon2 密码散列，PHP 必须使用 <strong class="option configure">--with-password-argon2</strong>
   配置选项来支持 libargon2，或者从 PHP 8.4.0 开始，使用 OpenSSL 和
   <strong class="option configure">--with-openssl</strong> 和
   <strong class="option configure">--with-openssl-argon2</strong> 进行构建。
  </p>
  <p class="para">
   在 PHP 8.1.0 之前，可以使用 <strong class="option configure">--with-password-argon2[=DIR]</strong> 指定 argon2 目录。
  </p>
 </div><?php manual_footer($setup); ?>