install or enable php's simplexml extension code example Example: PHP extension simplexml apt install php7.0-mbstring php7.0-zip php7.0-xml