Roger Creasy
Roger Creasy

Reputation: 1529

Composer install, ext-dom missing - LEMP Centos 7

When I run composer install I get the following error theseer/tokenizer 1.1.0 requires ext-dom * -> the requested PHP extension dom is missing from your system

LEMP stack on Centos 7 7.3

I found elsewhere that I needed to install php-xml, which I did (from the remi repo)

How do I get past this error?

Upvotes: 0

Views: 2293

Answers (1)

Roger Creasy
Roger Creasy

Reputation: 1529

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

Upvotes: 6

Related Questions