<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->

<chapter xml:id="password.setup" xmlns:xlink="http://www.w3.org/1999/xlink">
 &reftitle.setup;

 <section xml:id="password.requirements">
  &reftitle.required;
  &no.requirement;
  <para>
   For Argon2 password hashing, <link xlink:href="&url.libargon2;">libargon2</link>
   is required, though. As of PHP 7.3.0, libargon2 version 20161029 or later is
   required.
  </para>
 </section>

 <section xml:id="password.installation">
  &reftitle.install;
  &no.install;
  <para>
   To enable Argon2 password hashing, however, PHP must be built with libargon2
   support using the <option role="configure">--with-password-argon2</option>
   configure option.
  </para>
  <para>
   Prior to PHP 8.1.0, it was possible to specify the argon2 directory with
   <option role="configure">--with-password-argon2[=DIR]</option>.
  </para>
 </section>

 <section xml:id="password.configuration">
  &reftitle.runtime;
  &no.config;
 </section>

 <section xml:id="password.resources">
  &reftitle.resources;
  &no.resource;
 </section>

</chapter>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

