Linux下PHP的simplexml_load_string()报错的解决办法
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
最近配置完Linux下的PHP环境后发现simplexml_load_string这个函数报错,看了很多解答发现并不适用,最后发现原来是PHP的扩展包没有装好。
sudo apt-get install php7.0-xml
在终端如此即可解决,也可在新立得搜索simplexml也可以看到相应的扩展包。




A beautiful web dashboard for Linux
最近提交(Master分支:5 个月前 )
186a802e
added ecosystem file for PM2 4 年前
5def40a3
Add host customization support for the NodeJS version 4 年前
更多推荐
所有评论(0)