寶塔通過composer安裝TP依賴的詳細(xì)教程(寶塔服務(wù)器)
屢屢碰壁,安裝一個(gè)項(xiàng)目,發(fā)現(xiàn)沒有依賴,需要使用composer安裝,沒接觸過,找了網(wǎng)上也沒攻略,自己弄了后有以下問題,經(jīng)過調(diào)整解決了:
報(bào)錯1:沒有安裝fileinfo擴(kuò)展
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.其他報(bào)錯信息,請自己翻譯,整改好重新運(yùn)行即可,我這里沒留存其他報(bào)錯信息了
成功安裝
到此這篇關(guān)于寶塔通過composer安裝TP依賴的詳細(xì)教程(寶塔服務(wù)器)的文章就介紹到這了,更多相關(guān)寶塔安裝TP依賴內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
相關(guān)文章
Manjaro安裝CUDA實(shí)現(xiàn)教程解析
這篇文章主要介紹了Manjaro安裝CUDA實(shí)現(xiàn)教程解析,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友可以參考下2020-10-10基于注解的Dubbo服務(wù)配置方法(實(shí)例講解)
下面小編就為大家?guī)硪黄谧⒔獾腄ubbo服務(wù)配置方法(實(shí)例講解)。小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個(gè)參考。一起跟隨小編過來看看吧2017-06-06集群運(yùn)維自動化工具ansible之使用playbook安裝zabbix客戶端
Zabbix客戶端的安裝配置:Zabbix是一個(gè)基于WEB界面的提供分布式系統(tǒng)監(jiān)視以及網(wǎng)絡(luò)監(jiān)視功能的企業(yè)級的開源解決方案。zabbix能監(jiān)視各種網(wǎng)絡(luò)參數(shù),保證服務(wù)器系統(tǒng)的安全運(yùn)營;本文講述的是使用playbook安裝zabbix客戶端。2014-07-07阿里云盾網(wǎng)站安全防御(WAF)的使用方法(圖文)
這篇文章主要介紹了阿里云盾網(wǎng)站安全防御(WAF)的正確使用方法,需要的朋友可以參考下2015-09-09cwRsync 錯誤 uid/gid 4294967295 (-1) is impossible to set on
今天在同步文件的時(shí)候,因?yàn)橛昧?.3的新版本,出現(xiàn)了這個(gè)問題,cwRsync 錯誤 uid/gid 4294967295 (-1) is impossible to set on,后來參考下面的方法解決了,特分享一下方便需要的朋友2016-08-08Ubuntu移動任務(wù)欄到底部的實(shí)現(xiàn)方式
在Ubuntu操作系統(tǒng)中,默認(rèn)的任務(wù)欄位置在屏幕左側(cè),本文介紹了兩種方法來將任務(wù)欄移動到底部,方法一涉及使用終端命令,可能會出現(xiàn)架構(gòu)不支持的情況,方法二通過設(shè)置界面調(diào)整Dock的位置來實(shí)現(xiàn)任務(wù)欄的移動,具體步驟包括打開設(shè)置、選擇外觀選項(xiàng)2024-09-09