PHP 7 simpleXML

前端 未结 9 1181
一整个雨季
一整个雨季 2020-12-14 05:19

I\'m testing PHP7, and have a weird issue after a recent update. SimpleXML should be enabled by default, and my phpinfo page shows that it is available:

9条回答
  •  旧时难觅i
    2020-12-14 05:48

    I had the same problem and I'm using Ubuntu 15.10.

    In my case, to solve this issue, I installed the package php7.0-xml using the Synaptic package manager, which include SimpleXml. So, after restart my Apache server, my problem was solved. This package came in the Debian version and you can find it here: https://packages.debian.org/sid/php7.0-xml.

提交回复
热议问题