Call to undefined function password_hash() in PHP 5.4

北慕城南 提交于 2019-11-28 12:47:56
John Conde

password_hash() is not available in PHP 5.4. It is a new feature in PHP 5.5. In the meantime you can use this compatibility pack replacement.

Compatibility pack sidenote:

This library requires PHP >= 5.3.7 OR a version that has the $2y fix backported into it (such as RedHat provides). Note that Debian's 5.3.3 version is NOT supported.

For versions not covered by these versions, consult:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!