无法安装 php mcrypt 和 intl Extension



我的开发人员伙伴们,我刚刚开始安装Magento供我使用它,看看它的行为如何, 我从这里下载了zip文件,并尝试在我的MAC OS X的本地主机中运行它,但它向我显示了2个缺少扩展名的扩展检查

  1. PHP Extension mcrypt
  2. PHP 扩展国际

现在我尝试使用

brew install mcrypt

它向我显示了安装它的路径,这是/usr/local/Cellar/mcrypt/2.6.8的,这很好,我找不到 mcrypt.so 文件初始化,许多在线拓扑都表示应该在那里并将该文件引用放在 php.ini 文件中,但我在那里找不到文件,

brew install intlbrew install php70-intl

甚至一开始就不起作用,当我运行它时,它向我展示了这 4 个错误。

Error: No available formula with the name "intl" 
Error: No previously deleted formula found.
Error: No similarly named formulae found.
Error: No formulae found in taps.

Error: No available formula with the name "php70-intl" 
Error: No previously deleted formula found.
Error: No similarly named formulae found.
Error: No formulae found in taps.

任何想法我可能做错了什么,或者我错过了什么, 任何帮助都得到了赞赏,谢谢 顺便说一句,我的 php 版本是 7.1.16

他们移动了存储库。

您需要执行以下操作。"php@7.1"已经包含 mcrypt/intl。

"brew install php@7.1"

最新更新