Installation

Cette extension est activée par défaut. Elle peut être désactivée en utilisant l'option de configuration : --disable-simplexml

Note : Avant PHP 5.1.2, --enable-simplexml est nécessaire pour activer cette extension.

add a note add a note

User Contributed Notes 4 notes

up
1
ottakar at freezed dot me
1 year ago
This XML module is not provided on a default php (v7) install on Debian GNU/Linux stretch (9.3)
Add it with: sudo apt-get install php-xml
up
0
shashank at shankee dot com
2 years ago
Installing simpleXml using composer:

"composer require ext-simplexml"

The extension is enabled by default in most distros. You can check the list of php modules using:

"php -m"
up
-1
morel dot josh at hotmail dot com
2 years ago
For Linux Ubuntu using PHP 7:
sudo apt-get install php7.0-xml
up
-1
Rapitharian at hotmail dot com
7 months ago
To install on CentOS and Redhat, run: sudo yum -y install php-xml
To Top