Laravel 4: mcrypt 和 autoconf 未链接

Laravel 4: mcrypt and autoconf not linked

我在安装 mcrypt 时遇到了大问题。看了很多教程,还是没救了

安装 mcrypt 后,出现 "Mcrypt extension required" 错误。 所以我尝试使用以下命令重新安装它

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

有什么想法可以 link 它们到我的幼虫项目中吗?

提前致谢。

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

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

之一

不要忘记在安装后重新启动您的网络服务器。