array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'password.installation.php', 1 => 'Installation', ), 'up' => array ( 0 => 'password.setup.php', 1 => 'Installing/Configuring', ), 'prev' => array ( 0 => 'password.requirements.php', 1 => 'Requirements', ), 'next' => array ( 0 => 'password.configuration.php', 1 => 'Runtime Configuration', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/password/setup.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
There is no installation needed to use these functions; they are part of the PHP core.
To enable Argon2 password hashing, however, PHP must be built with libargon2 support using the --with-password-argon2 configure option.
Prior to PHP 8.1.0, it was possible to specify the argon2 directory with --with-password-argon2[=DIR].