You also need to check libxml is installed. Check phpinfo() > Dom to see if it is. Bug report filed to get this added here.
此扩展需要 libxml PHP 扩展。这意味着需要传递 --with-libxml,或在 PHP 7.4 之前的版本中传递 --enable-libxml, 尽管这将默默完成因为 libxml 是默认开启的。
You also need to check libxml is installed. Check phpinfo() > Dom to see if it is. Bug report filed to get this added here.
Under Fedora packaging ssystems you will need php-xml
=> yum install php-xml