This topic is locked
[SOLVED]

 Fatal error: Call to undefined function password_hash() in

8/15/2018 10:38:38 AM
PHPRunner General questions
M
mhollibush author

After setting up BCRYPT for passwords, I get the following error

Fatal error: Call to undefined function password_hash() in include/phpfunctions.php on line 2486
I have completely deleted the site and did a full rebuild then uploaded it
still getting the same error
I deleted the user, recreated the user using BCRYPT and still getting the error
Works fine on the local build, but not on the actual website
Any Ideas?

admin 8/15/2018

Googling error message "Fatal error: Call to undefined function passwordhash()" and opening first result we can see that

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



https://stackoverflow.com/questions/20955465/call-to-undefined-function-password-hash
You need a newer version of PHP on your website in order to use BCRYPT. PHPRunner manual says the same thing:

https://xlinesoft.com/phprunner/docs/user_login_settings.htm

M
mhollibush author 8/15/2018

I just looked it up... BCRYPT is the standard with PHP 5.5.0 and above

I just saw where my provider had the site set as 5.4

Updated the site to use 5.6

Everything is working now
Simple things will drive you insane