借鉴这个地址 https://segmentfault.com/a/1190000005090828 但是php得版本需要7.0以上所以
Php-fpm在这个目录下重启 /usr/local/Cellar/php@7.1/7.1.21/sbin
killall -HUP php-fpm 杀掉php-fpm的所有进程
https://blog.csdn.net/guoshenglong11/article/details/46517795 php-fpm
Nginx目录 /usr/local/Cellar/nginx/1.15.3/bin ninx启动会报没权限 需要root
https://www.jianshu.com/p/40580069d24b nginx开机启动配置
php redis 扩展安装
https://blog.csdn.net/joeson7456/article/details/79834176