shivammathur / homebrew-php

:beer: Homebrew tap for PHP 5.6 to 8.4. PHP 8.4 is built nightly.

Home Page:https://github.com/shivammathur/homebrew-php/packages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brew keeps using tap shivammathur/php

marcelaerts opened this issue · comments

Hi there,

I used your tap for testing purposes. I deleted it with the following command:
brew untap shivammathur/php

That worked. But when I try to install the default PHP from brew the tap get installed again.

I completely deleted Brew and installed it. Same result. How can this happen?

To remove this tap

# Remove php installed from the tap
brew ls --full-name --formula | grep '^shivammathur/php/' | xargs brew uninstall

# Remove tap
brew untap shivammathur/tap

Then you can install the supported php from the core tap (currently PHP 7.3 to 8.0).
For example to install PHP 7.4

brew install php@7.4