【问题标题】:"Mcrypt PHP extension required" error while trying to install laravel framework on ubuntu [closed]尝试在 ubuntu 上安装 laravel 框架时出现“需要 Mcrypt PHP 扩展”错误 [关闭]
【发布时间】:2014-12-01 17:34:48
【问题描述】:

我正在尝试在 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"

【问题讨论】:

标签: php laravel


【解决方案1】:

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

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

【讨论】:

猜你喜欢
  • 2014-09-20
  • 2014-01-11
  • 2014-05-18
  • 1970-01-01
  • 2017-05-11
相关资源
最近更新 更多