无法在带有Homebrew的Mac上安装xdebug

无法在带有Homebrew的Mac上安装xdebug

本文介绍了无法在带有Homebrew的Mac上安装xdebug的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对使用Homebrew有点陌生,但我喜欢它.它是如此容易.我正在尝试安装Xdebug.网络上的某些帖子说要这样做:

I'm kind of new to using Homebrew, but I love it. It's so easy. I'm trying install Xdebug. Some of the posts on the web say to do this:

brew install xdebug

但是它不起作用.我得到:Error, no available formula.

But it doesn't work. I get: Error, no available formula.

我做了brew search xdebug,它返回了:

josegonzalez/php/php53-xdebug    josegonzalez/php/php54-xdebug

我尝试了brew install的几种不同迭代,其中包括brew install php53-xdebug,但还是没有运气.有人能帮我吗?在Xdebug的网站上找不到有关使用Homebrew的任何信息,但是网上发布的帖子似乎表明有可能.

I tried several different iterations of brew install with this including brew install php53-xdebug, but still no luck. Can someone help me? I can't find anything on Xdebug's site about using Homebrew, but yet posts on the web seem to indicate it's possible.

推荐答案

添加此存储库: https: //github.com/josegonzalez/homebrew-php#readme

然后将brew install php54-xdebug用于PHP 5.4

Then use brew install php54-xdebug for PHP 5.4

brew install php53-xdebug用于PHP 5.3

Or brew install php53-xdebug for PHP 5.3

brew install php55-xdebug for PHP 5.5

Or brew install php55-xdebug for PHP 5.5

这篇关于无法在带有Homebrew的Mac上安装xdebug的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 00:37