How to install php-xml in CentOS/RHEL 10 (x86_64)

A module for PHP applications which use XML

License: PHP-3.01 AND Apache-2.0 Vendor: GetPageSpeed LLC http://www.php.net/

Install

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install php-xml

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.

Compatibility

This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

RPMs

Package Size Built Changes
php-xml-8.4.27-1.9.el10.gps.x86_64 693 KiB 2026-11-12 GetPageSpeed
- Built for GetPageSpeed repositories
php-xml-8.4.27-1.8.el10.gps.x86_64 692 KiB 2026-11-07 GetPageSpeed
- Built for GetPageSpeed repositories

Subscribe