macOS Sierra brew安装php出现configure: error: Cannot find libz 错误解决方法

解决方法:


在命令行执行

$ xcode-select --install

再次安装
$ brew install php56 --with-debug --with-gmp --with-httpd
成功解决!!!


分享至
2017-11-14 发布 ┊ 3110 人浏览 ┊ 0 人评论 ┊ 来源:原创 ┊ 收藏
返回顶部