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
PHP - Manual: 安装
2025-02-27
此扩展默认为启用,编译时可通过下列选项禁用: --disable-simplexml
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
官方地址:https://www.php.net/manual/en/simplexml.installation.php