|
|
MacOS升级到最新版,原来安装的PHP 7.2因动态库原因无法继续使用。尝试卸载重装,brew输出如下错误提示:/ C8 r( q0 h. X
php@7.2 has been disabled because it is deprecated upstream!又一次感慨阿三慢慢接管硅谷后,苹果微软等大厂的软件质量越来越不靠谱啊!无法新安装也就算了,怎么搞得原来好好的也用不了了?!!
( ]0 X1 }4 |1 f; r1 A" O但是某个项目仍依赖于PHP 7.2版本,没办法只能通过第三方brew源安装了:
; F. \/ I9 [/ W, `brew tap shivammathur/php
0 R# R; L" U4 f; o$ Q; J9 Bbrew install shivammathur/php/php@7.2
7 O7 X1 l. E$ d. c" Q0 R参考1. How to install PHP 7.2 on macOS Big Sur using Homebrew?; D' G2 @8 Y- K& P
2. 使用Remi源安装最新版PHP 7和PHP 8% z( |- z- ~8 M, B
AD:【国外VPS推荐】 Vultr全球16个数据中心,高速SSD硬盘,月付2.5$起,注册充10$送100$打赏赞 |
|