You also need to check libxml is installed. Check phpinfo() > Dom to see if it is. Bug report filed to get this added here.
PHP - Manual: 需求
2024-11-23
此扩展需要 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