【宝塔服务器】宝塔通过composer安装TP依赖
创始人
2025-01-19 16:33:19
0

屡屡碰壁,安装一个项目,发现没有依赖,需要使用composer安装,没接触过,找了网上也没攻略,自己弄了后有以下问题,经过调整解决了:

报错1:没有安装fileinfo扩展

Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.    Problem 1     - Root composer.json requires alipaysdk/easysdk 2.0 -> satisfiable by alipaysdk/easysdk[2.0.0].     - alipaysdk/easysdk 2.0.0 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.   Problem 2     - topthink/think-filesystem[v1.0.0, ..., v1.0.3] require league/flysystem ^1.1.4 -> satisfiable by league/flysystem[1.1.4, ..., 1.1.10].     - league/flysystem[1.1.0, ..., 1.1.10] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.     - Root composer.json requires topthink/think-filesystem ^1.0 -> satisfiable by topthink/think-filesystem[v1.0.0, v1.0.1, v1.0.2, v1.0.3].  To enable extensions, verify that they are enabled in your .ini files:     - /www/server/php/82/etc/php.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-fileinfo` to temporarily ignore these required extensions.  Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. 

2、删除禁用函数puv

在这里插入图片描述

3.其他报错信息,请自己翻译,整改好重新运行即可,我这里没留存其他报错信息了

成功安装
在这里插入图片描述

相关内容

热门资讯

第九分钟关于!wepoker辅... 第九分钟关于!wepoker辅助插件功能(透视)其实存在有挂,透明挂教程(有挂教程)-哔哩哔哩1、操...
透视挂!wepoker黑侠辅助... 透视挂!wepoker黑侠辅助器(透视)一贯是真的挂,AI教程(有挂代码)-哔哩哔哩;1、玩家可以在...
透视有挂!wpk辅助,xpok... 透视有挂!wpk辅助,xpoker辅助工具,法子教程(今日头条)-哔哩哔哩1、实时xpoker辅助工...
1分钟辅助!xpoker辅助怎... 1分钟辅助!xpoker辅助怎么用(透视)其实有挂,2025新版总结(有人有挂)-哔哩哔哩1、该软件...
透视肯定!wpk辅助购买(透视... 透视肯定!wpk辅助购买(透视)原来存在有挂,德州教程(有挂靠谱)-哔哩哔哩1、任何wpk辅助购买a...
透视计算!aapoker怎么设... 透视计算!aapoker怎么设置提高好牌几率,如何下载wpk透视版,法子教程(有挂存在)-哔哩哔哩在...
9分钟揭露!wepoker怎么... 9分钟揭露!wepoker怎么增加运气(透视)原来真的是有挂,科技教程(有挂细节)-哔哩哔哩1、超多...
透视透视!德州透视是真的假的(... 透视透视!德州透视是真的假的(透视)原来存在有挂,德州论坛(有挂规律)-哔哩哔哩1、德州透视是真的假...
透视透视挂!wepoker分析... 透视透视挂!wepoker分析,德普之星透视辅助软件,妙招教程(详细教程)-哔哩哔哩1、首先打开德普...
第3分钟解迷!wepoker破... 第3分钟解迷!wepoker破解器激活码(透视)其实真的有挂,必赢方法(了解有挂)-哔哩哔哩进入游戏...