Rog*_*asy 0 php composer-php centos7
当我运行时composer install
出现以下错误
theseer/tokenizer 1.1.0 requires ext-dom * -> the requested PHP extension dom is missing from your system
Centos 7 7.3 上的 LEMP 堆栈
我在其他地方发现我需要安装 php-xml,我这样做了(来自 remi 存储库)
我该如何克服这个错误?
这是我最终发现并所做的:
我肯定有错误的 remi 仓库。
sudo yum-config-manager --enable remi-php73
然后我重新安装了 php-xml sudo yum install php-xml
,br。
composer install
然后运行没有错误