Can't install xdebug on Mac with Homebrew

前端 未结 11 810
小蘑菇
小蘑菇 2020-12-24 01:31

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 xd         


        
11条回答
  •  感情败类
    2020-12-24 01:37

    If you get this error after adding the tap and installing:

    $ brew install "josegonzalez/php/php55"
    ==> Installing php55 from josegonzalez/php
    Error: Formulae found in multiple taps: 
     * homebrew/php/php53
     * josegonzalez/php/php53
    
    Please use the fully-qualified name e.g. homebrew/php/php53 to refer the formula.
    

    it is because josegonzalez/php has been moved to homebrew-php/php recently, so you will face the previous error.

    The idea is pretty simple, remove the old deprecated repo josegonzalez/php

    brew untap josegonzalez/php
    brew tap --repair
    brew update
    

    See the source of this solution to fix any other related bugs.

提交回复
热议问题