运行composer install
时出现以下错误
theseer/tokenizer 1.1.0 requires ext-dom * -> the requested PHP extension dom is missing from your system
Centos 7上的LEMP堆栈 7.3
我在其他地方发现我需要安装php-xml(通过remi repo)
如何克服此错误?
答案 0 :(得分:0)
Here is what I finally found and did:
I must have had the incorrect remi repo.
sudo yum-config-manager --enable remi-php73
Then I reinstalled php-xml sudo yum install php-xml
,br.
composer install
then ran without error