尝试在ubuntu上安装laravel框架时出现“Mcrypt PHP扩展需要”错误

时间:2014-10-07 10:06:04

标签: php laravel

我试图在ubuntu上安装laravel框架。它显示错误,如

"Mcrypt PHP extension required. Script php artisan clear-compiled handling the post-install-cmd event returned with and  [RuntimeException]  
  Error Output: an error"

1 个答案:

答案 0 :(得分:1)

你需要使用Mcrypt PHP扩展安装你的php 使用--with-mcrypt[=DIR]参数编译PHP以启用此扩展。

DIR是mcrypt安装目录。 更多信息here