【问题标题】:Laravel 4: mcrypt and autoconf not linkedLaravel 4:mcrypt 和 autoconf 未链接
【发布时间】:2015-03-27 20:41:26
【问题描述】:

我在安装 mcrypt 时遇到了很大的问题。我遵循了很多教程,但没有希望。

安装 mcrypt 后,我​​收到“需要 Mcrypt 扩展”错误。 所以我尝试使用以下命令重新安装它

brew install autoconf mcrypt

结束于

Warning: autoconf-2.69 already installed, it's just not linked
Warning: mcrypt-2.6.8 already installed, it's just not linked

有什么想法可以将它们链接到我的 larval 项目吗?

提前致谢。

【问题讨论】:

  • 我只想提一下,我正在开发 Mac OS X Yosemite

标签: laravel-4 autoconf mcrypt


【解决方案1】:

您实际上不需要普通的 mcrypt 包,您需要 PHP 扩展。

根据您的 PHP 版本,您需要php53-mcryptphp54-mcryptphp55-mcryptphp56-mcrypt 之一。

安装后别忘了重启你的网络服务器。

【讨论】:

  • 谢谢。在我使用 brew link 进行 autoconf freetype libtool mcrypt 之后,它起作用了,然后使用 brew install php56-mcrypt,现在一切正常:)
  • 当我运行 brew php55-mrypt 时,我遇到了另一个错误 No available formula for php55-mcrypt 任何想法如何解决这个问题。
猜你喜欢
  • 2013-06-05
  • 1970-01-01
  • 2014-06-29
  • 2013-04-05
  • 2014-10-29
  • 2014-03-12
  • 1970-01-01
  • 2014-05-27
  • 2013-11-07
相关资源
最近更新 更多