[英]Since homebrew updated me to php@7.1 from php71 my php extensions have become disabled
[英]What's the difference between php@7.1 and php71 [Homebrew on macOS]
我今天早上運行了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
@
代表什么?
如某些評論中所述,程序本身是相同的。 它仍然是PHP,仍然是7.1版。
但是,如果您查看homebrew / core和homebrew / php存儲庫,您會發現PHP 7.1已從homebrew / php遷移到homebrew / core,只是名稱發生了變化。
在homebrew / php中將其命名為php71,在homebrew / core中將其命名為php@7.1,以分隔程序和版本。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.