更新时间:2022-10-15 14:58:04
您需要安装DOM> 扩展名.您可以在 Debian/Ubuntu 上使用:
You need to install the DOM extension. You can do so on Debian / Ubuntu using:
sudo apt-get install php-dom
在 Centos/Fedora/Red Hat 上:
And on Centos / Fedora / Red Hat:
yum install php-xml
如果您在 PHP 包之间遇到冲突,您可以尝试查看是否存在特定的 PHP 版本包:例如php53-xml
如果您的系统运行 PHP5.3.
If you get conflicts between PHP packages, you could try to see if the specific PHP version package exists instead: e.g. php53-xml
if your system runs PHP5.3.