问题描述:
因Flarum需要空白目录。而Let’s Encrypt添加ssl证书时会产生隐藏文件夹.well-known。
导致报错无法安装。
报错内容:
`[lighthouse@VM-8-10-centos 网站目录]$ composer create-project flarum/flarum .
Creating a “flarum/flarum” project at “./”
[InvalidArgumentException]
Project directory “/www/wwwroot/网站目录/.” is not empty.
create-project [-s|–stability STABILITY] [–prefer-source] [–prefer-dist] [–prefer-install PREFER-INSTALL] [–repository REPOSITORY] [–repository-url REPOSITORY-URL] [–add-repository] [–dev] [–no-dev] [–no-custom-installers] [–no-scripts] [–no-progress] [–no-secure-http] [–keep-vcs] [–remove-vcs] [–no-install] [–ignore-platform-req IGNORE-PLATFORM-REQ] [–ignore-platform-reqs] [–ask] [–] [<package>] [<directory>] [<version>]`
试问有没有办法解决。
或只有更换ssl证书?