PHP Fatal error: Call to undefined function xml_parser_create()
Posted by admin on May 08 2017 20:13:55
For example I have received an error on my apache 2 web server:
[Mon May 08 19:59:38.469867 2017] [:error] [pid 13318] [client 66.11.12.143:51694] PHP Fatal error: Call to undefined function xml_parser_create() in /var/www/html/

After research I found the problem could be resolved by executing the following lines:
sudo apt-get install php-xml-parser
sudo a2enmod php5
sudo service apache2 restart