当前位置:网站首页>CentOS使用composer install 报错 - phpunitphpunit 8
CentOS使用composer install 报错 - phpunitphpunit 8
2022-06-21 16:31:00 【健康搬砖人】
使用composer install报错。
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-8gGhKmHA-1588778765753)(1.jpg)]](/img/d4/8061b9792e42b7c35a5de96aa02b20.png)
解决方案:
使用命令查看引入的模块
php -m
如果没有dom这个模块,查询可以拓展的模块,这里我的PHP版本是7.3
yum search php73
找到如下拓展
![[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-uJwcD7bo-1588778765766)(2.png)]](/img/97/113ee7c6c9376f2d9113a4ec66ec13.png)
安装
yum -y install php73-php-xml.x86_64
重启php frm
systemctl restart php73-php-fpm
再使用php -m命令查看,发现已经有了dom模块了,问题解决
边栏推荐
- 第五章 操作位和位串
- 大型网站技术架构 | 信息加密技术及密匙安全管理
- [dataset] |bigdetection
- 润迈德医疗通过上市聆讯:预计亏损将增加,霍云飞兄弟持股约33%
- 国元期货开户可靠吗?新手如何安全开户?
- 神经网络七十年:回顾与展望
- System V IPC与POSIX IPC
- Analysis of 43 cases of MATLAB neural network: Chapter 27 prediction of LVQ Neural Network - face orientation recognition
- Reids面试题集合 数据结构+穿透雪崩+持久化+内存淘汰策略+数据库双写+哨兵
- Postman association to complete interface automation test
猜你喜欢

Development of digital collection system and construction of NFT artwork trading platform

Move Protocol Beta测试版进行时,瓜分生态核心权益MOMO

如何使用 DATAX 以 UPSERT 语义更新下游 ORACLE 数据库中的数据

Lua导出为外部链接库并使用

EtherCAT master station based on am4377 controls STM32 slave station

National administrative division

Interceptor to realize web user login

postman关联,完成接口自动化测试

Paper notes ACL 2022 unified structure generation for universal information extraction

基于AM4377的EtherCAT主站控制stm32从站
随机推荐
堆栈认知——栈溢出实例(ret2libc)
Vit is crazy, 10+ visual transformer model details
Paper notes ACL 2022 unified structure generation for universal information extraction
From demand to open source, how to look at it with new eyes?
STM32F1与STM32CubeIDE编程实例-线性霍尔效应传感器驱动
Use of list
Seventy years of neural network: review and Prospect
透过华为军团看科技之变(四):互动媒体(音乐)
Bm19 looking for peak
Move Protocol Beta测试版稳定,临时决定奖池规模再扩大
[Oracle] is there a "time" data type in oracle-- Research on Oracle data types
The way for programmers to learn
RT thread persimmon pie M7 Quanzhi f133 DDR running xboot
Nacos注册中心-----从0开始搭建和使用
Excess rlsp
在线文档协作:办公必备高效率神器
C语言与Lua的交互(实践二)
Xlrd finds the row of the specified content and its content
EtherCAT igh 'Fatal Sync Error'——0x002C,0x001A
Convert longitude and latitude to distance