Levi_Marvin 建议在帖子“五、安装 Flarum”内容之前加入: 设置设置PHP配置文件: 最大脚本运行时间(max_execution_time):600 脚本内存限制(memory_limit):1024M 详见:https://discuss.flarum.org.cn/d/2506
抱天下 终端返回报错,文件未能保存,终端输出如下: PHP Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 93 Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 93 PHP Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/src/Composer/Util/Platform.php on line 37 Warning: putenv() has been disabled for security reasons in phar:///usr/local/bin/composer/src/Composer/Util/Platform.php on line 37 Creating a "flarum/flarum" project at "./" Installing flarum/flarum (v1.0.0) - Downloading flarum/flarum (v1.0.0) - Installing flarum/flarum (v1.0.0): Extracting archive Install of flarum/flarum failed [Symfony\Component\Process\Exception\RuntimeException] The Process class relies on proc_open, which is not available on your PHP installation. 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>]
peteru100 大家有遇到这个问题吗? Creating a “flarum/flarum” project at “./” Installing flarum/flarum (v1.0.0) Failed to download flarum/flarum from dist: /www/wwwroot/processing.love/vendor/composer does no t exist and could not be created. Now trying to download from source Installing flarum/flarum (v1.0.0): Cloning d5b2515f54 Install of flarum/flarum failed
kyyi 执行composer create-project flarum/flarum . 报错如下: InvalidArgumentException] Project directory “/home/lighthouse/.” is not empty. 但是我的网站目录并不是这样的。是/wwwroot/home/www/****.com