▶ brew uninstall php53 --force
Error: No available formula with the name "josegonzalez/php/php56"
Please tap it and then try again: brew tap josegonzalez/php
错误提示如上 然后我按照错误的提示 执行
brew tap brew tap josegonzalez/php
之后又报错
▶ brew tap josegonzalez/php
Updating Homebrew...
==> Tapping josegonzalez/php
Cloning into '/usr/local/Homebrew/Library/Taps/josegonzalez/homebrew-php'...
remote: Counting objects: 663, done.
remote: Compressing objects: 100% (429/429), done.
remote: Total 663 (delta 430), reused 305 (delta 232), pack-reused 0
Receiving objects: 100% (663/663), 280.91 KiB | 98.00 KiB/s, done.
Resolving deltas: 100% (430/430), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/josegonzalez/homebrew-php/Formula/arcanist.rb
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.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/josegonzalez/homebrew-php/Formula/behat.rb
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.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/josegonzalez/homebrew-php/Formula/boris.rb
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.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/josegonzalez/homebrew-php/Formula/box.rb
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.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/josegonzalez/homebrew-php/Formula/codeception.rb
Formulae found in multiple taps:
* homebrew/php/php53
* josegonzalez/php/php53
不知道怎么搞了 在google上搜 也没找到问题 所在。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
你删除的时候通过brew uninstall josegonzalez/php/php53,类似这种方式试试,如果不行的话你执行一下brew list,看看你本地安装的php相关有哪些。