password_hash() function doesn't work in Laragon 2.0.5 (PHP 5.6)
-
I am just testing the password_hash() function, I write a simple PHP file:
<?php
echo password_hash('mypassword', PASSWORD_BCRYPT);
?>
And then access it on the browser, a blank page came up. When I test this on shared hosting, it's worked. This function should be work in Laragon (2.0.5) because it's running PHP 5.6.
-
I've tested. It's fine. (php-5.6.25)
@chibao said:<?php
echo password_hash('mypassword', PASSWORD_BCRYPT);
?>
-
@leokhoa said:
<?php
echo password_hash('mypassword', PASSWORD_BCRYPT);
?>Oh, it's work now. Sorry about that, you can close this topic now.
-
@chibao : No problem