PASSWORD_ARGON2ID not working

PASSWORD_ARGON2ID dosent work it gives out this error:

Warning : Use of undefined constant PASSWORD_ARGON2ID - assumed ‘PASSWORD_ARGON2ID’ (this will throw an Error in a future version of PHP)
Warning : password_hash(): Unknown password hashing algorithm: PASSWORD_ARGON2ID

i have it setup as
$password = password_hash($_POST[‘password’], PASSWORD_ARGON2ID);

please help

@gamemaster123356, This discussion on stackoverflow might help…

ok i will check it

nope still not working same error

i think infinityfree dosent have it compiled with php :frowning: is there any other way to add argon2?

No.
See link below

1 Like

PHP 7.2 on a clean standard installation builds argon2 by default - do infinity have a custom build (actually, forget that, of course they do because there are other standard things that are turned off :man_facepalming: )

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.