全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 915|回复: 2

[Windows VPS] 另外一个onedrive 的面板,OLAINDEX 安装问题

[复制链接]
发表于 2019-6-6 21:01:39 | 显示全部楼层 |阅读模式
不知道哪个大佬做的。

项目地址:https://github.com/WangNingkai/OLAINDEX/
演示:https://dev.ningkai.wang/home



宝塔安装教程:https://imwnk.cn/article/104  我按照教程到了这一步就出错了 :composer install -vvv

  1. cd web目录 # 刚才新建站点的目录 这里是 /www/wwwroot/t_ningkai_wang
  2. git clone https://github.com/WangNingkai/OLAINDEX.git tmp
  3. mv tmp/.git .
  4. rm -rf tmp
  5. git reset --hard
  6. composer install -vvv # 这里确保已经安装composer成功  # 如果报权限问题,建议先执行权限命令
  7. chmod -R 755 storage/
  8. chown -R www:www *
  9. php artisan od:install
  10. chmod 777 storage/app/config.json # 不要忘记执行这一步,文件权限,否则安装报403
复制代码








代码:

  1. [root@10-8-176-211 pan.isays.cn]# composer install -vvv
  2. PHP:  syntax error, unexpected '=' in /www/server/php/72/etc/php.ini on line 1922
  3. Reading ./composer.json
  4. Loading config file /root/.config/composer/config.json
  5. Loading config file /root/.config/composer/auth.json
  6. Loading config file ./composer.json
  7. Checked CA file /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem: valid
  8. Failed to initialize global composer: Composer could not find the config file: /root/.config/composer/composer.json
  9. To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
  10. 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
  11. Reading ./composer.lock
  12. Loading composer repositories with package information
  13. Installing dependencies (including require-dev) from lock file
  14. Reading ./composer.lock
  15. Resolving dependencies through SAT

  16. Dependency resolution completed in 0.000 seconds
  17. Your requirements could not be resolved to an installable set of packages.

  18.   Problem 1
  19.     - The requested PHP extension ext-fileinfo * is missing from your system. Install or enable PHP's fileinfo extension.
  20.   Problem 2
  21.     - Installation request for league/flysystem 1.0.50 -> satisfiable by league/flysystem[1.0.50].
  22.     - league/flysystem 1.0.50 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
  23.   Problem 3
  24.     - league/flysystem 1.0.50 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
  25.     - laravel/framework v5.8.7 requires league/flysystem ^1.0.8 -> satisfiable by league/flysystem[1.0.50].
  26.     - Installation request for laravel/framework v5.8.7 -> satisfiable by laravel/framework[v5.8.7].

  27.   To enable extensions, verify that they are enabled in your .ini files:
  28.     - /www/server/php/72/etc/php.ini
  29.   You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
复制代码
 楼主| 发表于 2019-6-6 21:06:48 | 显示全部楼层
大佬们都不用这个么
发表于 2019-6-6 21:25:19 | 显示全部楼层
这个好啊! 谢谢
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-3-29 08:31 , Processed in 0.057265 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表