时间:2024-01-23 22:50:01 | 来源:网站运营
时间:2024-01-23 22:50:01 来源:网站运营
flarum在虚拟主机上如何安装?:oneinstack/include/php-7.sh
文件,将 --disable-fileinfo
改为 --enable-fileinfo
,这里有两处,两处都改了。proc_open
和 proc_get_status
的支持,还是在这个文件里,把proc_open,proc_get_status
删掉。php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"php -r "if (hash_file('SHA384', 'composer-setup.php') === '92102166af5abdb03f49ce52a40591073a7b859a86e8ff13338cf7db58a19f7844fbc0bb79b2773bf30791e935dbd938') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"php composer-setup.phpphp -r "unlink('composer-setup.php');"
就会自动下载 Composer 了mv composer.phar /usr/local/bin/composer
就安装好了,总之还是很快捷的。/data/wwwroot/flarum
cd /data/wwwroot/flarumcomposer create-project flarum/flarum . --stability=beta
就会自动下载各种依赖,然后就好了,需要进入对应页面安装。关键词:安装,主机,虚拟