[Solved] PHP7.3 Error: undefined function simplexml_load_string()

Usually this situation is caused by the php extension module not having simplexml installed.

yum install php73-php-simplexml //install simplexml
systemctl restart php73-php-fpm  //restart php

If it is another version you can replace 73 accordingly
Then print phpinfo() and see the following module, then the problem is solved

Similar Posts: