How to install php-xml on AlmaLinux, Rocky Linux, Oracle Linux and RHEL
A module for PHP applications which use XML
Availability
| Distro | aarch64 | noarch | x86_64 | Version |
|---|---|---|---|---|
| RHEL 10 | — | — | — | |
| RHEL 9 | — | — | — | |
| RHEL 8 | — | — | — | |
| RHEL 7 | — | — | ✓ | 8.4.24 |
| RHEL 6 | — | — | — |
Description
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.
Built for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Install
php-xml on CentOS 7 / RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install php-xml
Package downloads require an active GetPageSpeed subscription — one repository for php-xml and thousands more packages for AlmaLinux, Rocky Linux, Oracle Linux and RHEL.
Subscribe — from $10/moFrequently asked questions
How do I install php-xml on AlmaLinux, Rocky Linux, Oracle Linux and RHEL?
Add the GetPageSpeed repository, then install the php-xml package with your system package manager.
Which Enterprise Linux versions is php-xml available for?
php-xml is available for RHEL 7.