Mac OS X上需要Mcrypt PHP扩展 [英] Mcrypt PHP extension required on Mac OS X

查看:165
本文介绍了Mac OS X上需要Mcrypt PHP扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不断收到此错误

需要Mcrypt PHP扩展

在运行composer update之后,在底部的

:

at the bottom after I run a composer update :

由于我使用的是Mac,因此我尝试运行:

Since I am using Mac, I have tried running :

brew search mcrypt brew install php56-mcrypt

brew search mcrypt brew install php56-mcrypt

我仍然收到相同的错误消息.

I still get the same error message.

推荐答案

步骤

我通过运行以下命令解决了此问题

Steps

I solved this by running the following commands

brew update
brew upgrade
brew tap homebrew/dupes
brew tap josegonzalez/homebrew-php
brew install php54-mcrypt
php --version // To Test your php 
sudo composer update


结果

不再有Mcrypt警告!!


Result

No more Mcrypt warning !!

Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
Generating optimized class loader

这篇关于Mac OS X上需要Mcrypt PHP扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆