Call to undefined function password_hash()

The new password_* methods are only available as of PHP 5.5:

http://www.php.net/manual/en/function.password-hash.php

Take a look at this library that provides forward compatibility:

https://github.com/ircmaxell/password_compat

You can use that to get access to the new password_* methods until you are able to run PHP 5.5.

Leave a Comment