【发布时间】:2014-10-22 16:16:32
【问题描述】:
我在尝试将 laravel 4.1 更新到 4.2 时遇到问题。
我在 ubuntu 上开始了那个项目,然后买了一个新的 macbook pro,看起来我错过了一些东西。
我正在使用 XAMPP 1.8.3
当我
composer update
我收到以下错误
Mcrypt PHP extension required.
Script php artisan clear-compiled handling the post-update-cmd event returned with an error
经过几次谷歌搜索,找到了自制软件,很容易
brew install mcrypt
但我收到以下警告
Warning: mcrypt-2.6.8 already installed
有什么想法吗?
【问题讨论】:
-
我在 Maverics 和 Mountain Lion 上安装 mcrypt 玩得很开心。我最终从头开始安装它,因为
homebew在我的情况下似乎不起作用。不过你可能会有更好的运气。既然已经安装了,你的php.ini里面有extension=mcrypt.so吗?查看this tutorial
标签: macos laravel xampp mcrypt