mac mojava 安装php56的正确姿势

在Mac电脑上Mojava版本想通过homebrew安装php56发现安装失败。

Error: No available formula with the name "php56"

运行命令 brew install php56 显示如下错误

 

在stackoverflow上找到一个好的方案:

1、安装exolnet/homebrew-deprecated

brew tap exolnet/homebrew-deprecated

效果如下

2 执行php安装命令

 brew install php56 

效果如下

等待安装完成即可

猜你喜欢

转载自blog.csdn.net/w605283073/article/details/88780857