【宝塔服务器】宝塔通过composer安装TP依赖

简介: 【宝塔服务器】宝塔通过composer安装TP依赖

屡屡碰壁,安装一个项目,发现没有依赖,需要使用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.其他报错信息,请自己翻译,整改好重新运行即可,我这里没留存其他报错信息了

成功安装

相关文章
|
6天前
|
网络安全 Apache
Apache服务器安装SSL证书
Apache服务器安装SSL证书
36 0
|
6天前
|
NoSQL 关系型数据库 MySQL
涉及rocketMQ,jemeter等性能测试服务器的安装记录
涉及rocketMQ,jemeter等性能测试服务器的安装记录
22 1
|
6天前
|
监控 JavaScript 网络协议
Linux系统之安装uptime-kuma服务器监控面板
【5月更文挑战第12天】Linux系统之安装uptime-kuma服务器监控面板
20 0
|
6天前
|
XML 网络安全 开发工具
如何下载并安装 SAP ABAPGit,并完成 ABAP 服务器上 SSL 证书的配置试读版
如何下载并安装 SAP ABAPGit,并完成 ABAP 服务器上 SSL 证书的配置试读版
11 0
|
6天前
|
JSON 应用服务中间件 Linux
skywalking内部测试服务器安装记录
skywalking内部测试服务器安装记录
14 0
|
6天前
|
运维 监控 安全
2023年最详细的:本地Linux服务器安装宝塔面板,并内网穿透实现公网远程登录
2023年最详细的:本地Linux服务器安装宝塔面板,并内网穿透实现公网远程登录
|
6天前
|
Apache 项目管理 数据安全/隐私保护
Windows安装TortoiseSVN客户端结合Cpolar实现公网提交文件到本地服务器
Windows安装TortoiseSVN客户端结合Cpolar实现公网提交文件到本地服务器
|
6天前
|
Shell 数据安全/隐私保护 Docker
如何使用Docker安装FTP服务器?
【4月更文挑战第25天】
36 0
如何使用Docker安装FTP服务器?
|
6天前
|
监控 安全 Linux
Linux系统之安装ServerBee服务器监控工具
【4月更文挑战第22天】Linux系统之安装ServerBee服务器监控工具
65 2
|
6天前
|
存储 分布式计算 NoSQL
MongoDB的简介和安装(在服务器上)
MongoDB的简介和安装(在服务器上)
44 0

热门文章

最新文章