Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/237.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 未定义的常量密码\u ARGON2I Laravel_Php_Laravel 5_Argon2 Ffi - Fatal编程技术网

Php 未定义的常量密码\u ARGON2I 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

我一直很难使用新的密码哈希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 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
编译

参考: