[TOC]

安装环境

  • brew install nginx
  • brew install php
  • brew install mysql

配置环境

  • /usr/local/homebrew/etc/nginx/nginx.conf
  • /etc/php-fpm.conf

启动环境

  • brew services start nginx
  • php-fpm(启动php-fpm)

nginx.conf

php-fpm.conf