需求
此扩展需要 libxml PHP 扩展。这表示需要使用 --with-libxml,或在 PHP 7.4 之前的版本中使用 --enable-libxml, 尽管这将隐式完成因为 libxml 是缺省开启的。

User Contributed Notes 2 notes
James ¶
12 years ago
You also need to check libxml is installed. Check phpinfo() > Dom to see if it is. Bug report filed to get this added here.
david at brayworth dot com dot au ¶
11 years ago
Under Fedora packaging ssystems you will need php-xml
=> yum install php-xml