Installation Error

When installing UNA, i get this Error "PHP Fatal error:  Uncaught Error: Call to undefined function xml_parser_create() " 

I have run:  sudo apt-get install -y php7.2-xml

But still get error - Please can you let me know what I am doing wrong?

[Wed Jun 10 17:06:20.266518 2020] [:error] [pid 30572] [client 24.193.114.62:59978] PHP Fatal error:  Uncaught Error: Call to undefined function xml_parser_create() in /var/www/una/una/inc/classes/BxDolXmlParser.php:137\nStack trace:\n#0 /var/www/una/una/install/classes/BxDolInstallModulesTools.php(67): BxDolXmlParser->getValues('<?xml version="...', 'string')\n#1 /var/www/una/una/install/classes/BxDolInstallLang.php(29): BxDolInstallModulesTools->readLanguage(Array)\n#2 /var/www/una/una/install/classes/BxDolInstallLang.php(35): BxDolInstallLang->__construct('en')\n#3 /var/www/una/una/install/classes/BxDolInstallLang.php(81): BxDolInstallLang::getInstance('en')\n#4 /var/www/una/una/install/index.php(49): require_once('/var/www/una/un...')\n#5 {main}\n  thrown in /var/www/una/una/inc/classes/BxDolXmlParser.php on line 137

  • 407
  • More
Replies (1)
    • Hello Fine !

      Usually, it happens when you try to install the extension to the "wrong" PHP. You need to complete the following commands first and show us the output

      apt-get install php-xml 

      apt-get search php |grep xml

      Login or Join to comment.