Php5.6 has installed xml, and still prompts undefined function simplexml_load_string

clipboard.png

clipboard.png



@OnlyViewSG :

clipboard.png

later used yum install php-xml and yum-- enablerepo remi install php-xml , both of which failed to install. Finally, another great god proposed to use yum install-- enablerepo=remi--enablerepo=remi-php56 php-xml and succeeded!

-- enablerepo enables the meaning of the specified source. For php5.6, specify remi-php56 source
Php
Mar.22,2021

simplexml_load_string is a function of the simplexml extension, please install the extension

Menu