User Tools

Site Tools


install_php7-xml_to_avoid_utf_encode_decode_issue

Table of Contents

Install php7-xml to avoid utf encode/decode issue

Issue

  1. Try to run a local instance of the Dokuwiki installer, using PHP 7's build-in dev server.
  2. Get these errors:
    1. PHP function utf8_encode is not available. Maybe your hosting provider disabled it for some reason?
    2. PHP function utf8_decode is not available. Maybe your hosting provider disabled it for some reason?

Solution

Use your package manager to install the “php7-xml” package.

install_php7-xml_to_avoid_utf_encode_decode_issue.txt · Last modified: 2024/08/11 18:08 by jimc