我今天早上跑了brew update && brew upgrade
并发出了这个警告:
> ==> Renamed Formulae
php71 ✔ -> php@7.1
==> Deleted Formulae
homebrew/php/php71-gmp homebrew/php/php71-mcrypt homebrew/php/php71-pcntl homebrew/php/php71-pdo-pgsql homebrew/php/php71-snmp
homebrew/php/php71-intl homebrew/php/php71-opcache homebrew/php/php71-pdo-dblib homebrew/php/php71-pspell homebrew/php/php71-tidy
==> Processing php71 formula rename to php@7.1
==> Unlinking php71
==> Moving php71 versions to /usr/local/Cellar/php@7.1
==> Relinking php@7.1
Warning: php@7.1 is outdated!
To avoid broken installations, as soon as possible please run:
brew upgrade
Or, if you're OK with a less reliable fix:
brew upgrade php@7.1
@
代表什么?
答案 0 :(得分:2)
正如一些评论所说,该计划本身是一样的。它仍然是PHP,仍然是7.1版本。
但是如果你看一下homebrew/core和homebrew/php存储库,你会发现PHP 7.1已经从homebrew / php迁移到homebrew / core,而且只是命名发生了变化。 / p>
在homebrew / php中,它被命名为php71,在homebrew / core中,它被命名为php@7.1以分离程序和版本。