shivammathur/homebrew-php

I unable to install php on Mac os monterey

Venugopal155 opened this issue · 4 comments

Describe the bug
I unable to install PHP on Mac os Monterey, getting below error
Screenshots/Logs
Screenshot 2021-12-24 at 4 03 37 PM

Please provide the output of brew tap homebrew/core, because httpd is a core formula.

If there is no output, please check the core git repo and let me know the output.

cd "$(brew --repo homebrew/core)"
git status && git show --summary

This solved the same problem for me:

rm -rf $(brew --repo homebrew/core)
brew tap homebrew/core

finally follow this up with:

brew install php

@blackcore003

As the error says, the remote of your homebrew/core tap is wrong.
You can follow @cheesepipe's comment above to fix this.

This error is related to the core repository and not this tap. Therefore, I'm closing the issue.