mac php7.3 安装扩展 进入到PHP的目录 /bin/pecl install mongodb 其他扩展同理。 另外: Mac brew 安装的php的启动和停止: brew services stop phpbrew services start php