Skip to content

Commit

Permalink
Document argon2 installation with OpenSSL in PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
bukka committed Dec 8, 2024
1 parent b7bef37 commit 128a94f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions reference/password/setup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,22 @@
&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.
For Argon2 password hashing, either
<link xlink:href="&url.libargon2;">libargon2</link> is required or as of PHP
8.4.0, OpenSSL version 3.2 or later. As of PHP 7.3.0, libargon2 version
20161029 or later is required if libargon2 is used.
</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.
To enable Argon2 password hashing, however, PHP must be built either with
libargon2 support using the
<option role="configure">--with-password-argon2</option> configure option
or as of PHP 8.4.0, it can be build with OpenSSL using
<option role="configure">--with-openssl</option>.
</para>
<para>
Prior to PHP 8.1.0, it was possible to specify the argon2 directory with
Expand Down

0 comments on commit 128a94f

Please sign in to comment.