Php 未定义的常量密码\u ARGON2I Laravel
我一直很难使用新的密码哈希laravel刚刚介绍(氩)在laravel。我收到了这个错误信息Php 未定义的常量密码\u ARGON2I Laravel,php,laravel-5,argon2-ffi,Php,Laravel 5,Argon2 Ffi,我一直很难使用新的密码哈希laravel刚刚介绍(氩)在laravel。我收到了这个错误信息 Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I' (this will throw an Error in a future version of PHP) {"exception":"[object] (ErrorException(code: 0): Use of undefined constant
Use of undefined constant PASSWORD_ARGON2I - assumed 'PASSWORD_ARGON2I'
(this will throw an Error in a future version of PHP)
{"exception":"[object] (ErrorException(code: 0):
Use of undefined constant PASSWORD_ARGON2I -
assumed 'PASSWORD_ARGON2I' (this will throw an Error
in a future version of PHP)
我的php版本是argon推荐的,我在mac系统上工作
PHP 7.2.0 (cli) (built: Dec 11 2017 16:00:14) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2017 Zend Technologies
请帮助最有可能的原因是PHP没有使用
--with-password-argon2
编译
参考: