【发布时间】:2015-08-06 13:29:11
【问题描述】:
我刚刚通过 composer 安装了 Laravel 5,它已全局安装在我的 Mac 上。现在,当我尝试 laravel new blog 并尝试通过 php artisan serve 在 apache 上提供它时,我收到以下错误
ErrorException in compiled.php line 6635:
Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128'
每次我部署一个新的应用程序时都会得到这个。我该如何解决这个错误?
【问题讨论】:
-
已安装或启用 mcrypt 扩展?
-
兄弟,你还谷歌吗?