I had the same problem. Just install php7.0-xml
package. Ubuntu 16.04:
sudo apt-get install php7.0-xml
Edit: Restart apache2 to load the new package.
More Related Contents:
- How can I write a file in UTF-8 format?
- Replacing invalid UTF-8 characters by question marks, mbstring.substitute_character seems ignored
- Reference: Why are my “special” Unicode characters encoded weird using json_encode?
- PHP DOMDocument loadHTML not encoding UTF-8 correctly
- SET NAMES utf8 in MySQL?
- Detect encoding and make everything UTF-8
- file_get_contents() Breaks Up UTF-8 Characters
- UTF-8 BOM signature in PHP files
- How to avoid echoing character 65279 in php?
- Elegant way to search for UTF-8 files with BOM?
- How to best configure PHP to handle a UTF-8 website [duplicate]
- How to install PHP mbstring on CentOS 6.2
- Unable to retrieve UTF-8 accented characters from Access via PDO_ODBC
- How to sort an array of UTF-8 strings?
- Getting ’ instead of an apostrophe(‘) in PHP
- How to set UTF-8 encoding for a PHP file
- Regex to detect invalid UTF-8 string
- PHP: Split multibyte string (word) into separate characters
- php header excel and utf-8
- json_encode() non utf-8 strings?
- UTF-8 encoding for subject in contact form email
- How to iterate UTF-8 string in PHP?
- URL Decoding in PHP
- How can I detect a malformed UTF-8 string in PHP?
- php substr() function with utf-8 leaves � marks at the end
- How to check if letter is upper or lower in PHP?
- How to convert all characters to their html entity equivalent using PHP
- Is a BLOB converted using the current/default charset in MySQL?
- UTF8 Filenames in PHP and Different Unicode Encodings
- How to keep json_encode() from dropping strings with invalid characters