【发布时间】:2014-06-06 18:12:09
【问题描述】:
我正在尝试通过 composer (http://laravel.com/docs/quick#installation) 安装 laravel,但我被困在需要 Mcrypt 扩展的地方
Mcrypt PHP extension required.
我使用 brew 安装了 Mcrypt 扩展。但它仍然会引发相同的需求错误。 我也尝试按照here 的建议更改路径,但我的 which php 没有显示除
之外的任何内容/usr/bin/php
在 ~/.bash_profile 分配路径时我做错了吗?为什么“哪个php”输出仍然相同。为什么 mcrypt 安装在 laravel 锻炼中不起作用?
【问题讨论】: