Flarum mac本地化安装配置Guide
Mac 本地化安装配置 Flarum 系统: macOS Monterey + Apple M1 前提: homebrewCN MariaDB 配置 1 2 brew install mariadb brew services restart mariadb 初始化 MariaDB sudo 下配置 1 mysql_secure_installation Composer 1 brew install composer ps. 安装 composer 会连同依赖 php 一同安装,但 flarum 没适配最新的 php [email protected] 1 2 brew install [email protected] brew services restart [email protected] 同环境下还有一个 php,指定一下 PHP8.0 1 2 echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/opt/homebrew/opt/[email protected]/sbin:$PATH"' >> ~/.zshrc Caddy 1 brew install caddy URL 重写——配置 Caddy 在/opt/homebrew/etc/Caddyfile 中添加配置,如果没有该文件,则新建...