[ACCEPTED]-PHP DOMDocument missing-require
Accepted answer
Fixed with:
sudo yum --enablerepo=webtatic install php-xml
sudo /sbin/service httpd stop
sudo /sbin/service httpd start
0
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.
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
=====================================
Installing:
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.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.