Nginx
# 查看安装配置
nginx -V
# 启动
brew services start nginx
# 停止
brew services stop nginx
# 重启
brew services restart nginx
# nginx 配置
/usr/local/Cellar/nginx/conf/
/usr/local/etc/
vi /usr/local/etc/nginx/nginx.conf
tailf /usr/local/var/log/nginx/error.log
tailf /usr/local/var/log/nginx/access.log
MySql
# MySql 启动
mysql.server start
# MySql 配置
/usr/local/etc/
# MySql 密码
xxxxx
PHP
# 启动php-fom
php-fpm -d start
brew services start php
# 重启
brew services restart php
# 关闭
brew services stop php
# 配置文件
/private/etc/php-fpm.d/www.conf
/private/etc/php-fpm.conf