宝塔通过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.其他报错信息,请自己翻译,整改好重新运行即可,我这里没留存其他报错信息了
成功安装
到此这篇关于宝塔通过composer安装TP依赖的详细教程(宝塔服务器)的文章就介绍到这了,更多相关宝塔安装TP依赖内容请搜索脚本之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持脚本之家!
相关文章
windows下文件同步工具 CwRsync 4.0.2 安装配置方法(图文)
这篇文章主要介绍了CwRsync 4.0.2 安装配置方法,需要的朋友可以参考下2015-01-01服务器(VPS)安装WebSite Panel面板教程(图文)
这篇文章主要为大家分享下WebsitePanel的安装方法,WebsitePanel简称WSP是微软旗下,开源免费的虚拟主机系统,需要win2008 r2环境2013-12-12HTTP响应字段Transfer-Encoding含义及作用详解
在HTTP通信中,响应正文可以以多种不同的编码方式传输,其中一种方式是chunked传输编码,本文将详细介绍Transfer-Encoding字段的含义和chunked传输编码,以及提供示例来解释这些概念2023-11-11网站控制台directadmin中文手册 Linux下虚拟主机管理
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系2009-11-11
最新评论