报错 Call to undefined function appcommonmodelsimplexml_load_string() ,解决方法

最新想在自己的云服务器上使用苹果cms搭建视频小程序后端:

环境:

ubuntu18.04+mysql5.7.30+apache2.4+php.7.2

配置过程出现了如下错误:

 Call to undefined function appcommonmodelsimplexml_load_string()

后来参考(报错 call not undefined function Thinksimplexml_load_string() php7.0

这是由于少了一个文件php-xml导致的

根据自己的系统环境:

使用如下命令:

sudo apt-get update

sudo apt-get php7.2-xml

安装完后,重新apache2

sudo service apache2 restart

便可以ok


ubuntu18.04 安装swoole 扩展

 

如何在Ubuntu上在多个PHP版本之间切换 (for swoole)

sg11扩展下载地址

 https://www.sourceguardian.com/loaders.html

原文地址:https://www.cnblogs.com/it-tsz/p/14257248.html