全球主机交流论坛
标题:
另外一个onedrive 的面板,OLAINDEX 安装问题
[打印本页]
作者:
darkt
时间:
2019-6-6 21:01
标题:
另外一个onedrive 的面板,OLAINDEX 安装问题
不知道哪个大佬做的。
项目地址:https://github.com/WangNingkai/OLAINDEX/
演示:https://dev.ningkai.wang/home
宝塔安装教程:https://imwnk.cn/article/104 我按照教程到了这一步就出错了 :composer install -vvv
cd web目录 # 刚才新建站点的目录 这里是 /www/wwwroot/t_ningkai_wang
git clone https://github.com/WangNingkai/OLAINDEX.git tmp
mv tmp/.git .
rm -rf tmp
git reset --hard
composer install -vvv # 这里确保已经安装composer成功 # 如果报权限问题,建议先执行权限命令
chmod -R 755 storage/
chown -R www:www *
php artisan od:install
chmod 777 storage/app/config.json # 不要忘记执行这一步,文件权限,否则安装报403
复制代码
代码:
[root@10-8-176-211 pan.isays.cn]# composer install -vvv
PHP: syntax error, unexpected '=' in /www/server/php/72/etc/php.ini on line 1922
Reading ./composer.json
Loading config file /root/.config/composer/config.json
Loading config file /root/.config/composer/auth.json
Loading config file ./composer.json
Checked CA file /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem: valid
Failed to initialize global composer: Composer could not find the config file: /root/.config/composer/composer.json
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
Running 1.8.5 (2019-04-09 17:46:47) with PHP 7.2.18 on Linux / 3.10.0-957.1.3.el7.x86_64
Reading ./composer.lock
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Reading ./composer.lock
Resolving dependencies through SAT
Dependency resolution completed in 0.000 seconds
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested PHP extension ext-fileinfo * is missing from your system. Install or enable PHP's fileinfo extension.
Problem 2
- Installation request for league/flysystem 1.0.50 -> satisfiable by league/flysystem[1.0.50].
- league/flysystem 1.0.50 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
Problem 3
- league/flysystem 1.0.50 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- laravel/framework v5.8.7 requires league/flysystem ^1.0.8 -> satisfiable by league/flysystem[1.0.50].
- Installation request for laravel/framework v5.8.7 -> satisfiable by laravel/framework[v5.8.7].
To enable extensions, verify that they are enabled in your .ini files:
- /www/server/php/72/etc/php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
复制代码
作者:
darkt
时间:
2019-6-6 21:06
大佬们都不用这个么
作者:
果果
时间:
2019-6-6 21:25
这个好啊! 谢谢
欢迎光临 全球主机交流论坛 (https://443502.xyz/)
Powered by Discuz! X3.4