当前位置:网站首页>CentOS uses composer install to report an error - phpunitphppunit 8

CentOS uses composer install to report an error - phpunitphppunit 8

2022-06-22 03:52:00 Healthy brick carrier

Use composer install Report errors .

[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-8gGhKmHA-1588778765753)(1.jpg)]

Solution :

Use the command to view the incoming modules

php -m

without dom This module , Query modules that can be expanded , Here mine PHP The version is 7.3

yum search php73 

Find the following extensions

[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-uJwcD7bo-1588778765766)(2.png)]

install

yum -y install php73-php-xml.x86_64

restart php frm

systemctl restart php73-php-fpm

Reuse php -m Command view , It has been found that dom Module , Problem solving

原网站

版权声明
本文为[Healthy brick carrier]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206211630247915.html