安装Homebrew扩展imagickmcrypt 安装brew install php@7.2 Homebrewbrew services start php@7.2brew services restart php@7.2brew services stop php@7.2brew info php@7.2 扩展 imagickbrew install imagemagickpecl install imagick mcryptbrew install libmcryptpecl install mcrypt