MAMP 2.0.1中的Laravel 4和PHP 5.3.6不支持Bcrypt散列

时间:2013-06-19 20:08:04

标签: php laravel mcrypt

我正在尝试使用Laravel执行以下行,

Hash::make('asdqwe');

但它失败了这个错误:

Bcrypt hashing not supported.

我已检查我的php.ini并启用了extension=mcrypt.sophpinfo()会显示此信息:

mcrypt in phpinfo()

有什么想法吗?感谢

1 个答案:

答案 0 :(得分:1)

Laravel 4要求在安装了MCrypt扩展程序的情况下至少需要PHP 5.3.7

来源:http://laravel.com/docs/installation#server-requirements