编程技术记录

世界你好!

安装homebrew方法(若已经安装,忽略)

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

通过homebrew安装

brew install php@7.3

刷新php连接

brew link php@7.3

重启shell,查看php版本

php -v

© Beli. All Rights Reserved.