1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-24 07:02:08 +01:00
Files
2025-09-02 19:24:28 +09:00

61 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 2417d61a29a32b4d495e0df7c25c026e0035a428 Maintainer: takagi Status: ready -->
<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>
Argon2 パスワードハッシュには、
<link xlink:href="&url.libargon2;">libargon2</link> が必要です。
PHP 8.4.0 以降では、libargon2 の代わりに OpenSSL のバージョン 3.2 以降を使うこともできます。
libargon2 を使う場合、PHP 7.3.0 以降では libargon2 バージョン 20161029 以降が必要になります。
</para>
</section>
<section xml:id="password.installation">
&reftitle.install;
&no.install;
<para>
ただし、Argon2 パスワードハッシュを有効にするには、
<option role="configure">--with-password-argon2</option> オプションを使用し
libargon2 のサポートを有効にして PHP をビルドする必要があります。
PHP 8.4.0 以降で libargon2 の代わりに OpenSSL を使う場合、
<option role="configure">--with-openssl</option>
<option role="configure">--with-openssl-argon2</option> オプションを使用し
OpenSSL を有効にして PHP をビルドする必要があります。
</para>
<para>
PHP 8.1.0 より前のバージョンでは、
<option role="configure">--with-password-argon2[=DIR]</option>
を使って argon2 のディレクトリを指定できます。
</para>
</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
-->