I am running php version 5.4.16 on localhost right now, while I am developing my site. I want to use password_hash()
, but I keep getting this error:
Fatal error: Call to undefined function password_hash() in /dir/to/file.php on line 123
Why is this happening?