Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

VoidMrVoid's avatar

Use of undefined constant PASSWORD_ARGON2ID - assumed 'PASSWORD_ARGON2ID'

Installed PHP 7.3 and changed the hashing method in hashing.php config file. But when I register, I get this error:

ErrorException (E_WARNING) Use of undefined constant PASSWORD_ARGON2ID - assumed 'PASSWORD_ARGON2ID' (this will throw an Error in a future version of PHP)

FIXED: my fault, Nginx was using old PHP-FPM sock after upgrade.

0 likes
2 replies
webmailtafc's avatar

Please how to solution, i have same problem in homestead

VoidMrVoid's avatar

@WEBMAILTAFC - It’s been a while... As far as I remember I had a PHP distribution built without Argon. And ya, look at the “FIXED” paragraph in my question.

Please or to participate in this conversation.