摘要: 通过brew install php7.1 The php.ini file can be found in: /usr/local/etc/php/7.1/php.ini ✩✩✩✩ Extensions ✩✩✩✩ If you are having issues with custom exten 阅读全文
posted @ 2018-01-20 15:17 微风星宇 阅读(278) 评论(0) 推荐(0) 编辑
摘要: php -i | grep php.ini 查看PHP加载的是哪个配置文件,这个获取的是系统内的php.ini 的位置。不是网页apache加载的php.ini文件 添加变量默认php版本 export PATH="/usr/local/Cellar/php71/7.1.13_24/bin:$PAT 阅读全文
posted @ 2018-01-20 15:09 微风星宇 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 使用sudo nginx -s reload 报错 nginx: [error] invalid PID number "" in "/usr/local/var/run/nginx.pid" 解决方法: sudo nginx -c /usr/local/etc/nginx/nginx.conf 然 阅读全文
posted @ 2018-01-20 10:52 微风星宇 阅读(118) 评论(0) 推荐(0) 编辑
摘要: brew search nginx查询版本 使用brew install nginx 安装 Docroot is: /usr/local/var/www (服务器默认路径) The default port has been set in /usr/local/etc/nginx/nginx.con 阅读全文
posted @ 2018-01-20 10:16 微风星宇 阅读(110) 评论(0) 推荐(0) 编辑