本地环境报错
1、执行任意php命令均报错
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.63.dylib
Referenced from: /usr/local/Cellar/php@7.1/7.1.26/bin/php
Reason: image not found
Abort trap: 6
2、本地nginx报502 Bad Gateway
解决办法
下载icu4c-63版本
http://www.linuxfromscratch.org/blfs/view/stable/general/icu.html
解压后进入目录
cd ./source./configure
make
make install