How to install php-xml on Amazon Linux

A module for PHP applications which use XML

License: PHP Vendor: GetPageSpeed LLC http://www.php.net/

Availability

Compare package tracks by distribution and architecture. Checkmarks show the architectures available in each repository channel.

Distro Channel x86_64 Version
Amazon Linux 2012.03 Base 5.3.3

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 Amazon Linux.

Install

Base Amazon Linux 2012.03

php-xml on Amazon Linux 2012.03

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

php-xml: Free to install; commercial production use requires a subscription. Without one, a small license notice appears on HTML pages after 30 days.

Subscribe — from $10/mo

Frequently asked questions

How do I install php-xml on Amazon Linux?

Add the GetPageSpeed repository, then install the php-xml package with your system package manager.

Which Amazon Linux versions is php-xml available for?

php-xml is available for Amazon Linux 2012.03.

Subscribe