'Upgrading to PHP 7 disabled SimpleXML mod in CentOS

I need to enable SimpleXML mod on PHP7 in CentOS.

On my ubuntu server it was as easy as

sudo apt-get install php7.0-xml

Any idea how to do that on centOS ?

I tried installing the webtatic and epel-release packages, but for some reason they mess up yum and every execution of yum produces a "xz compression not supported" error.

Any other ideas ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source