1. 安装:brew install php@7.2
  2. 启动php-fpm: brew services start php72
  3. 配置文件:/usr/local/etc/php/7.2
  4. 安装xdebug:brew install php72-xdebug
  5. 安装redis:brew install php72-redis
  6. 安装swoole:brew install php72-swoole