[ACCEPTED]-PHP DOMDocument missing-require

Accepted answer
Score: 20

Fixed with:

sudo yum --enablerepo=webtatic install php-xml
sudo /sbin/service httpd stop
sudo /sbin/service httpd start


Score: 1

First Install this rpm

rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm

Then install 2

sudo yum --enablerepo=webtatic install php-xml

This 1 should 100% works.

Score: 0

I had same issue, I have php71 REMI installed 5 on Centos7.

I checked this:

yum install php-xml

But It was installed 4 and I got this message:

Package php-xml-7.1.4-1.el7.remi.x86_64 already installed and latest version

Then I tried this 3 one:

yum install php71-php-xml

And It was missed, So I got

Dependencies Resolved

 Package                    Arch                Version                        Repository         Size
 php71-php-xml              x86_64              7.1.4-1.el7.remi               remi              164 k

Transaction Summary
Install  1 Package

I answered 2 yes and It installed. Then restart the httpd2.4:

service httpd restart

Then 1 the problem was fixed.

More Related questions