寶塔通過composer安裝TP依賴的詳細教程(寶塔服務器)
屢屢碰壁,安裝一個項目,發(fā)現(xiàn)沒有依賴,需要使用composer安裝,沒接觸過,找了網(wǎng)上也沒攻略,自己弄了后有以下問題,經(jīng)過調(diào)整解決了:
報錯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、刪除禁用函數(shù)puv

3.其他報錯信息,請自己翻譯,整改好重新運行即可,我這里沒留存其他報錯信息了
成功安裝

到此這篇關于寶塔通過composer安裝TP依賴的詳細教程(寶塔服務器)的文章就介紹到這了,更多相關寶塔安裝TP依賴內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關文章希望大家以后多多支持腳本之家!
相關文章
服務器配置禁止IP直接訪問只允許域名訪問的實現(xiàn)步驟
聯(lián)網(wǎng)信息系統(tǒng)需設置只允許通過域名訪問,禁止使用IP地址直接訪問,建議同時采用云防護技術隱藏系統(tǒng)真實IP地址且只允許云防護節(jié)點IP訪問服務器,提升網(wǎng)絡安全防護能力,這篇文章主要介紹了服務器配置禁止IP直接訪問只允許域名訪問,需要的朋友可以參考下2024-03-03
windows下文件同步工具 CwRsync 4.0.2 安裝配置方法(圖文)
這篇文章主要介紹了CwRsync 4.0.2 安裝配置方法,需要的朋友可以參考下2015-01-01
iis7 iis8反向代理規(guī)則編寫、安裝與配置方法
這篇文章主要介紹了iis7 iis8反向代理規(guī)則編寫、安裝與配置方法,需要的朋友可以參考下2020-04-04

