How To Install php-xml.x86_64 on Amazon Linux 2
In this tutorial we learn how to install php-xml.x86_64 in Amazon Linux 2. php-xml.x86_64 is A module for PHP applications which use XML
Introduction
In this tutorial we learn how to install php-xml.x86_64
on Amazon Linux 2.
What is php-xml.x86_64
The php-xml package contains dynamic shared objects which add support to PHP for manipulating XML documents using the DOM tree, and performing XSL transformations on XML documents.
We can use yum
to install php-xml.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install php-xml.x86_64.
Install php-xml.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install php-xml.x86_64
using yum
by running the following command:
sudo yum -y install php-xml.x86_64
How To Uninstall php-xml.x86_64 on Amazon Linux 2
To uninstall only the php-xml.x86_64
package we can use the following command:
sudo yum remove php-xml.x86_64
php-xml.x86_64 Package Contents on Amazon Linux 2
/etc/php.d/dom.ini
/etc/php.d/wddx.ini
/etc/php.d/xmlreader.ini
/etc/php.d/xmlwriter.ini
/etc/php.d/xsl.ini
/usr/lib64/php/modules/dom.so
/usr/lib64/php/modules/wddx.so
/usr/lib64/php/modules/xmlreader.so
/usr/lib64/php/modules/xmlwriter.so
/usr/lib64/php/modules/xsl.so
References
Summary
In this tutorial we learn how to install php-xml.x86_64
on Amazon Linux 2 using yum.