PHP 8.1.24 Released!


この拡張モジュールはデフォルトで有効になっています。無効にしたい場合は、次のオプションを指定してコンパイルします。 --disable-simplexml

add a note

User Contributed Notes 4 notes

ottakar at freezed dot me
5 years 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
morel dot josh at hotmail dot com
6 years ago
For Linux Ubuntu using PHP 7:
sudo apt-get install php7.0-xml
Rapitharian at hotmail dot com
4 years ago
To install on CentOS and Redhat, run: sudo yum -y install php-xml
shashank at shankee dot com
6 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"
To Top