【发布时间】:2018-12-11 22:19:51
【问题描述】:
我目前正在尝试在我的本地主机上设置现有的 Magento 站点,在克隆存储库后我无法运行 composer install。我收到以下错误:
Problem 1
- Installation request for magento/framework 101.0.4 -> satisfiable by magento/framework[101.0.4].
- magento/framework 101.0.4 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
Problem 2
- Installation request for magento/magento2-base 2.2.4 -> satisfiable by magento/magento2-base[2.2.4].
- magento/magento2-base 2.2.4 requires ext-intl * -> the requested PHP extension intl is missing from your system.
Problem 3
- Installation request for magento/product-community-edition 2.2.4 -> satisfiable by magento/product-community-edition[2.2.4].
- magento/product-community-edition 2.2.4 requires ext-intl * -> the requested PHP extension intl is missing from your system.
所以似乎缺少一些 PHP 扩展,但是当尝试通过 brew 安装它们时,会发生以下错误:
Error: No available formula with the name "php71-mcrypt"
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
另外,如果我使用 brew list 它显示 mcrypt 已经安装,但是卸载它并没有帮助。我还尝试完全重新安装 brew 也没有帮助。 我对 Magento 和 Brew 都非常缺乏经验,所以如果我在这里遗漏了任何信息,请告诉我。
【问题讨论】:
标签: php composer-php homebrew magento2